TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractModule Class Reference
Inheritance diagram for AbstractModule:
ElementHistoryController MoveElementController NewContentElementController EditDocumentController CreateFolderController EditFileController FileUploadController RenameFileController ReplaceFileController NewRecordController AbstractWizardController RecordList SetupModuleController

Public Member Functions

 __construct ()
 
 processRequest (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Attributes

 $moduleTemplate
 
 $request
 

Detailed Description

A backend module. This class may be used by extension backend modules to implement own actions and controllers. It initializes the module template and comes with a simple dispatcher method.

Definition at line 29 of file AbstractModule.php.

Constructor & Destructor Documentation

__construct ( )

Constructor Method

Definition at line 41 of file AbstractModule.php.

References GeneralUtility\makeInstance().

Member Function Documentation

processRequest ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Central Request Dispatcher

Parameters
ServerRequestInterface$requestPSR7 Request Object
ResponseInterface$responsePSR7 Response Object
Returns
ResponseInterface
Exceptions
InvalidArgumentException In case an action is not callable

Definition at line 63 of file AbstractModule.php.

References AbstractModule\$request.

Member Data Documentation

$moduleTemplate
protected

Definition at line 36 of file AbstractModule.php.

Referenced by RecordList\getModuleTemplate().

$request
protected

Definition at line 51 of file AbstractModule.php.

Referenced by AbstractModule\processRequest().