PHP Класс Neos\Flow\Mvc\Controller\RestController

Наследование: extends ActionController
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$request Neos\Flow\Mvc\ActionRequest The current request
$resourceArgumentName string Name of the action method argument which acts as the resource for the RESTful controller. If an argument with the specified name is passed to the controller, the show, update and delete actions can be triggered automatically.
$response Neos\Flow\Http\Response The response which will be returned by this action controller

Защищенные методы

Метод Описание
initializeCreateAction ( ) : void Allow creation of resources in createAction()
initializeUpdateAction ( ) : void Allow modification of resources in updateAction()
redirectToUri ( mixed $uri, integer $delay, integer $statusCode = 303 ) : void Redirects the web request to another uri.
resolveActionMethodName ( ) : string Determines the action method and assures that the method exists.

Описание методов

initializeCreateAction() защищенный Метод

Allow creation of resources in createAction()
protected initializeCreateAction ( ) : void
Результат void

initializeUpdateAction() защищенный Метод

Allow modification of resources in updateAction()
protected initializeUpdateAction ( ) : void
Результат void

redirectToUri() защищенный Метод

NOTE: This method only supports web requests and will throw an exception if used with other request types.
protected redirectToUri ( mixed $uri, integer $delay, integer $statusCode = 303 ) : void
$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"
Результат void

resolveActionMethodName() защищенный Метод

Determines the action method and assures that the method exists.
protected resolveActionMethodName ( ) : string
Результат string The action method name

Описание свойств

$request защищенное свойство

The current request
protected ActionRequest,Neos\Flow\Mvc $request
Результат Neos\Flow\Mvc\ActionRequest

$resourceArgumentName защищенное свойство

Name of the action method argument which acts as the resource for the RESTful controller. If an argument with the specified name is passed to the controller, the show, update and delete actions can be triggered automatically.
protected string $resourceArgumentName
Результат string

$response защищенное свойство

The response which will be returned by this action controller
protected Response,Neos\Flow\Http $response
Результат Neos\Flow\Http\Response