프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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 |
리턴 | void |
protected forwardToRequest ( |
||
$request | The request to redirect to | |
리턴 | void |
public getControllerContext ( ) : |
||
리턴 | 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 | ||
리턴 | 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 |
리턴 | 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" |
리턴 | 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 | ||
리턴 |
protected ControllerContext,Neos\Flow\Mvc\Controller $controllerContext | ||
리턴 |
protected FlashMessageContainer,Neos\Flow\Mvc $flashMessageContainer | ||
리턴 |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
리턴 | Neos\Flow\Persistence\PersistenceManagerInterface |
protected ActionRequest,Neos\Flow\Mvc $request | ||
리턴 |
protected Response,Neos\Flow\Http $response | ||
리턴 |
protected array $supportedMediaTypes | ||
리턴 | array |
protected UriBuilder,Neos\Flow\Mvc\Routing $uriBuilder | ||
리턴 |