TYPO3
7.6
|
Public Member Functions | |
canProcessRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request) | |
processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request,\TYPO3\CMS\Extbase\Mvc\ResponseInterface $response) | |
Interface for controllers
Definition at line 22 of file ControllerInterface.php.
canProcessRequest | ( | \TYPO3\CMS\Extbase\Mvc\RequestInterface | $request | ) |
Checks if the current request type is supported by the controller.
\TYPO3\CMS\Extbase\Mvc\RequestInterface | $request | The current request |
Implemented in AbstractController, and CommandController.
processRequest | ( | \TYPO3\CMS\Extbase\Mvc\RequestInterface | $request, |
\TYPO3\CMS\Extbase\Mvc\ResponseInterface | $response | ||
) |
Processes a general request. The result can be returned by altering the given response.
\TYPO3\CMS\Extbase\Mvc\RequestInterface | $request | The request object |
\TYPO3\CMS\Extbase\Mvc\ResponseInterface | $response | The response, modified by the controller |
\TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException | if the controller doesn't support the current request type |
Implemented in AbstractController, and ActionController.