TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface:
Tx_Extbase_MVC_Controller_ControllerInterface TYPO3\CMS\Extbase\Mvc\Controller\AbstractController TYPO3\CMS\Extbase\Mvc\Controller\CommandControllerInterface Tx_Extbase_MVC_Controller_AbstractController TYPO3\CMS\Extbase\Mvc\Controller\ActionController Tx_Extbase_MVC_Controller_CommandControllerInterface TYPO3\CMS\Extbase\Mvc\Controller\CommandController OliverHader\IrreTutorial\Controller\AbstractController Tx_Extbase_MVC_Controller_ActionController TYPO3\CMS\About\Controller\AboutController TYPO3\CMS\Aboutmodules\Controller\ModulesController TYPO3\CMS\Belog\Controller\AbstractController TYPO3\CMS\Beuser\Controller\BackendUserController TYPO3\CMS\Documentation\Controller\DocumentController TYPO3\CMS\Extensionmanager\Controller\AbstractController TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController TYPO3\CMS\IndexedSearch\Controller\SearchController TYPO3\CMS\Install\Controller\BackendModuleController TYPO3\CMS\Lang\Controller\LanguageController TYPO3\CMS\Reports\Controller\ReportController TYPO3\CMS\SysNote\Controller\NoteController TYPO3\CMS\Viewpage\Controller\ViewModuleController TYPO3\CMS\Workspaces\Controller\AbstractController Acme\Mypkg\Command\MockBCommandController Tx_Extbase_Command_MockCCommandController Tx_Extbase_MVC_Controller_CommandController TYPO3\CMS\Extbase\Command\HelpCommandController TYPO3\CMS\Extbase\Tests\MockACommandController TYPO3\CMS\Extensionmanager\Command\ExtensionCommandController TYPO3\CMS\Lang\Command\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

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Interface for controllers

Definition at line 21 of file ControllerInterface.php.

Member Function Documentation

◆ canProcessRequest()

TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface::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
boolean TRUE if this request type is supported, otherwise FALSE

Implemented in TYPO3\CMS\Extbase\Mvc\Controller\AbstractController, TYPO3\CMS\Extbase\Mvc\Controller\ActionController, and TYPO3\CMS\Extbase\Mvc\Controller\CommandController.

◆ processRequest()

TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface::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.

Parameters
\TYPO3\CMS\Extbase\Mvc\RequestInterface$requestThe request object
\TYPO3\CMS\Extbase\Mvc\ResponseInterface$responseThe response, modified by the controller
Returns
void
Exceptions

Implemented in TYPO3\CMS\Extbase\Mvc\Controller\AbstractController, TYPO3\CMS\Extbase\Mvc\Controller\ActionController, and TYPO3\CMS\Extbase\Mvc\Controller\CommandController.