Property | Type | Description | |
---|---|---|---|
$arguments | Arguments passed to the controller | ||
$controllerContext | |||
$flashMessageContainer | ..) to add a new Flash Message. | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$request | The current action request directed to this controller | ||
$response | The response which will be returned by this action controller | ||
$supportedMediaTypes | array | A list of IANA media types which are supported by this controller | |
$uriBuilder | |||
$validatorResolver |
Method | Description | |
---|---|---|
addFlashMessage ( string $messageBody, string $messageTitle = '', string $severity = Error\Message::SEVERITY_OK, array $messageArguments = [], integer $messageCode = null ) : void | Creates a Message object and adds it to the FlashMessageContainer. | |
getControllerContext ( ) : |
Returns this controller's context. |
Method | Description | |
---|---|---|
forward ( string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = [] ) : void | Forwards the request to another action and / or controller. | |
forwardToRequest ( |
Forwards the request to another action and / or controller. | |
initializeController ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) | Initializes the controller | |
mapRequestArgumentsToControllerArguments ( ) : void | Maps arguments delivered by the request object to the local controller arguments. | |
redirect ( string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = null, integer $delay, integer $statusCode = 303, string $format = null ) : void | Redirects the request to another action and / or controller. | |
redirectToRequest ( |
Redirects the request to another action and / or controller. | |
redirectToUri ( mixed $uri, integer $delay, integer $statusCode = 303 ) | Redirects to another URI | |
throwStatus ( integer $statusCode, string $statusMessage = null, string $content = null ) | Sends the specified HTTP status immediately. |
public addFlashMessage ( string $messageBody, string $messageTitle = '', string $severity = Error\Message::SEVERITY_OK, array $messageArguments = [], integer $messageCode = null ) : void | ||
$messageBody | string | text of the FlashMessage |
$messageTitle | string | optional header of the FlashMessage |
$severity | string | severity of the FlashMessage (one of the Message::SEVERITY_* constants) |
$messageArguments | array | arguments to be passed to the FlashMessage |
$messageCode | integer | |
return | void |
protected forward ( string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = [] ) : void | ||
$actionName | string | Name of the action to forward to |
$controllerName | string | Unqualified object name of the controller to forward to. If not specified, the current controller is used. |
$packageKey | string | Key of the package containing the controller to forward to. May also contain the sub package, concatenated with backslash (Vendor.Foo\Bar\Baz). If not specified, the current package is assumed. |
$arguments | array | Arguments to pass to the target action |
return | void |
protected forwardToRequest ( |
||
$request | The request to redirect to | |
return | void |
public getControllerContext ( ) : |
||
return | The current controller context |
protected initializeController ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) | ||
$request | Neos\Flow\Mvc\RequestInterface | |
$response | Neos\Flow\Mvc\ResponseInterface |
protected mapRequestArgumentsToControllerArguments ( ) : void | ||
return | void |
protected redirect ( string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = null, integer $delay, integer $statusCode = 303, string $format = null ) : void | ||
$actionName | string | Name of the action to forward to |
$controllerName | string | Unqualified object name of the controller to forward to. If not specified, the current controller is used. |
$packageKey | string | Key of the package containing the controller to forward to. If not specified, the current package is assumed. |
$arguments | array | Array of arguments for the target action |
$delay | integer | (optional) The delay in seconds. Default is no delay. |
$statusCode | integer | (optional) The HTTP status code for the redirect. Default is "303 See Other" |
$format | string | The format to use for the redirect URI |
return | void |
protected redirectToRequest ( |
||
$request | The request to redirect to | |
$delay | integer | (optional) The delay in seconds. Default is no delay. |
$statusCode | integer | (optional) The HTTP status code for the redirect. Default is "303 See Other" |
return | void |
protected redirectToUri ( mixed $uri, integer $delay, integer $statusCode = 303 ) | ||
$uri | mixed | Either a string representation of a URI or a \Neos\Flow\Http\Uri object |
$delay | integer | (optional) The delay in seconds. Default is no delay. |
$statusCode | integer | (optional) The HTTP status code for the redirect. Default is "303 See Other" |
protected Arguments,Neos\Flow\Mvc\Controller $arguments | ||
return |
protected ControllerContext,Neos\Flow\Mvc\Controller $controllerContext | ||
return |
protected FlashMessageContainer,Neos\Flow\Mvc $flashMessageContainer | ||
return |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
return | Neos\Flow\Persistence\PersistenceManagerInterface |
protected ActionRequest,Neos\Flow\Mvc $request | ||
return |
protected Response,Neos\Flow\Http $response | ||
return |
protected array $supportedMediaTypes | ||
return | array |
protected UriBuilder,Neos\Flow\Mvc\Routing $uriBuilder | ||
return |