com\setasign\Konquadrat\Controller\Frontend

Workflow Class Workflow

File: /Konquadrat/src/Controller/Frontend/Workflow.php

Class hierarchy

Implements

Summary

Properties

$response

protected ?\Psr\Http\Message\ResponseInterface \com\setasign\SetaFramework\Controller\AbstractController::$response

Static Methods

getWorkflowDataSessionName()

public static Workflow::getWorkflowDataSessionName (
$name
): string
Parameters
$name
 

getWorkflowSessionName()

public static Workflow::getWorkflowSessionName (
$name
): string
Parameters
$name
 

resetWorkflows()

public static Workflow::resetWorkflows (
array $workflows,
?string $sessionVersion = null
): void
Parameters
$workflows: array
 
$sessionVersion: ?string

If null all versions will be reset

Exceptions

Throws \com\setasign\SetaFramework\Session\SessionException


Methods

getParam()

public \com\setasign\SetaFramework\Controller\AbstractController::getParam (
string $name,
mixed $default = null
): ?mixed

Returns a param if it exists otherwise this will return $default

Parameters
$name: string
 
$default: mixed
 

getParams()

Get all existing params

getResponse()

public \com\setasign\SetaFramework\Controller\AbstractController::getResponse (
void
): \Psr\Http\Message\ResponseInterface

renderView()

protected Workflow::renderView (
void
): void
Exceptions

Throws \com\setasign\SetaFramework\View\ViewException

setParam()

Sets a param

Parameters
$name: string
 
$value: mixed
 

setParams()

Set a array of params

Note: The params will be merged with the existing params!!

Parameters
$params: array