TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ControllerInterface Interface Reference
Inheritance diagram for ControllerInterface:
AbstractController CommandControllerInterface ActionController DummyController CommandController BlogController AbstractController AboutController ModulesController AbstractController BackendUserActionController PermissionController HelpController DocumentController AbstractController FileListController AbstractWidgetController AbstractBackendController FormFrontendController AdministrationController SearchController LanguageController RecyclerModuleController ReportController NoteController ViewModuleController AbstractController MockBCommandController Tx_Extbase_Command_MockCCommandController HelpCommandController MockACommandController ExtensionCommandController LanguageCommandController

Public Member Functions

 canProcessRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request,\TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 

Detailed Description

Interface for controllers

Definition at line 22 of file ControllerInterface.php.

Member Function Documentation

canProcessRequest ( \TYPO3\CMS\Extbase\Mvc\RequestInterface  $request)

Checks if the current request type is supported by the controller.

Parameters
\TYPO3\CMS\Extbase\Mvc\RequestInterface$requestThe current request
Returns
bool TRUE if this request type is supported, otherwise FALSE

Implemented in AbstractController, and CommandController.

Processes a general request. The result can be returned by altering the given response.

Parameters
\TYPO3\CMS\Extbase\Mvc\RequestInterface$requestThe request object
\TYPO3\CMS\Extbase\Mvc\ResponseInterface$responseThe response, modified by the controller
Returns
void
Exceptions
TYPO3 if the controller doesn't support the current request type

Implemented in AbstractController, and ActionController.