TYPO3
7.6
|
Public Member Functions | |
__construct () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
main () | |
Public Member Functions inherited from AbstractModule | |
__construct () | |
processRequest (ServerRequestInterface $request, ResponseInterface $response) | |
Public Attributes | |
$content | |
$doc | |
Protected Member Functions | |
init () | |
setPagePath ($table, $uid) | |
getButtons () | |
getLanguageService () | |
getBackendUser () | |
Protected Attributes | |
$pageInfo | |
Protected Attributes inherited from AbstractModule | |
$moduleTemplate | |
$request | |
Script Class for showing the history module of TYPO3s backend
Definition at line 31 of file ElementHistoryController.php.
__construct | ( | ) |
Constructor
Definition at line 53 of file ElementHistoryController.php.
References $GLOBALS, ElementHistoryController\getLanguageService(), and ElementHistoryController\init().
|
protected |
Gets the current backend user.
Definition at line 178 of file ElementHistoryController.php.
References $GLOBALS.
Referenced by ElementHistoryController\setPagePath().
|
protected |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 143 of file ElementHistoryController.php.
References GeneralUtility\_GP(), ButtonBar\BUTTON_POSITION_LEFT, ElementHistoryController\getLanguageService(), GeneralUtility\sanitizeLocalUrl(), and Icon\SIZE_SMALL.
Referenced by ElementHistoryController\main().
|
protected |
Returns LanguageService
Definition at line 168 of file ElementHistoryController.php.
References $GLOBALS.
Referenced by ElementHistoryController\__construct(), ElementHistoryController\getButtons(), and ElementHistoryController\main().
|
protected |
Initialize the module output
Definition at line 83 of file ElementHistoryController.php.
References GeneralUtility\makeInstance().
Referenced by ElementHistoryController\__construct().
main | ( | ) |
Generate module output
Definition at line 96 of file ElementHistoryController.php.
References ElementHistoryController\getButtons(), ElementHistoryController\getLanguageService(), GeneralUtility\makeInstance(), ElementHistoryController\setPagePath(), and GeneralUtility\trimExplode().
Referenced by ElementHistoryController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now
ServerRequestInterface | $request | the current request |
ResponseInterface | $response |
Definition at line 70 of file ElementHistoryController.php.
References $response, MessageInterface\getBody(), and ElementHistoryController\main().
|
protected |
Creates the correct path to the current record
string | $table | |
int | $uid |
Definition at line 121 of file ElementHistoryController.php.
References ElementHistoryController\getBackendUser(), BackendUtility\getRecord(), and BackendUtility\readPageAccess().
Referenced by ElementHistoryController\main().
$content |
Definition at line 36 of file ElementHistoryController.php.
$doc |
Definition at line 43 of file ElementHistoryController.php.
|
protected |
Definition at line 48 of file ElementHistoryController.php.