com\setasign\Konquadrat\Controller\Frontend
Workflow Class Workflow
File: /Konquadrat/src/Controller/Frontend/Workflow.php
Class hierarchy
- com\setasign\SetaFramework\Controller\AbstractViewController
Implements
- \com\setasign\SetaFramework\Controller\ControllerInterface
Summary
Properties
$httpFactory
-
$response
-
$viewScript
-
Static Methods
resetWorkflows()
Parameters
- $workflows : array
- $sessionVersion : ?string
If null all versions will be reset
Exceptions
Throws \com\setasign\SetaFramework\Session\SessionException
Methods
__construct()
-
\com\setasign\SetaFramework\View\View $view
Parameters
- $httpFactory : \com\setasign\SetaFramework\Http\HttpFactoryInterface
- $view : \com\setasign\SetaFramework\View\View
errorAction()
\com\setasign\Konquadrat\LanguageManager $languageManager
Parameters
- $context : \com\setasign\Konquadrat\SessionContext
- $languageManager : \com\setasign\Konquadrat\LanguageManager
Exceptions
Throws \com\setasign\SetaFramework\View\MissingViewException
Throws \com\setasign\SetaFramework\View\RenderException
Throws \com\setasign\SetaFramework\View\ViewException
getParam()
-
mixed $default = null
Returns a param if it exists otherwise this will return $default
Parameters
- $name : string
- $default : mixed
getParams()
-
Get all existing params
getResponse()
-
getView()
-
Returns the view
handlePostRequest()
\com\setasign\SetaFramework\Session\SessionInterface $session,
\com\setasign\SetaFramework\Session\SessionInterface $dataSession
Parameters
- $request : \com\setasign\SetaFramework\Request\ServerRequest
- $session : \com\setasign\SetaFramework\Session\SessionInterface
- $dataSession : \com\setasign\SetaFramework\Session\SessionInterface
Exceptions
Throws \com\setasign\SetaFramework\Helper\CsrfProtectionException
indexAction()
\com\setasign\SetaFramework\Session\SessionInterface $session,
\com\setasign\Konquadrat\Konquadrat $konquadrat,
\com\setasign\Konquadrat\Object\History $history,
\com\setasign\Konquadrat\Workflow\WorkflowFactoryInterface $workflowFactory,
\com\setasign\Konquadrat\LanguageManager $languageManager
Parameters
- $request : \com\setasign\SetaFramework\Request\ServerRequest
- $session : \com\setasign\SetaFramework\Session\SessionInterface
- $konquadrat : \com\setasign\Konquadrat\Konquadrat
- $history : \com\setasign\Konquadrat\Object\History
- $workflowFactory : \com\setasign\Konquadrat\Workflow\WorkflowFactoryInterface
- $languageManager : \com\setasign\Konquadrat\LanguageManager
Exceptions
Throws \com\setasign\SetaFramework\Helper\CsrfProtectionException
Throws \com\setasign\Konquadrat\Workflow\ObjectsInitException
Throws \com\setasign\SetaFramework\Session\SessionException
Throws \com\setasign\SetaFramework\View\MissingViewException
Throws \com\setasign\SetaFramework\View\RenderException
resetResponse()
-
setParam()
-
mixed $value
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
