RecyclerModuleController
Backend Module for the 'recycler' extension.
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $allowDelete : bool
- $iconFactory : IconFactory
- $id : int
- $isAccessibleForCurrentUser : bool
- $moduleTemplate : ModuleTemplate
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageRecord : array<string|int, mixed>
- $pageRenderer : PageRenderer
- $recordsPageLimit : int
- $view : StandaloneView
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- Injects the request object for the current request, and renders correct action
- indexAction() : mixed
- Renders the content of the module.
- getBackendUser() : BackendUserAuthentication
- Returns the current BE user.
- getDataFromSession() : string
- Gets data from the session of the current backend user.
- getJavaScriptConfiguration() : array<string|int, mixed>
- Gets the JavaScript configuration.
- getLanguageService() : LanguageService
- Returns an instance of LanguageService
- getShortcutTitle() : string
- Returns the shortcut title for the current page
- initializeView() : mixed
- registerDocHeaderButtons() : mixed
- Registers the Icons into the docheader
Properties
$allowDelete
protected
bool
$allowDelete
= false
$iconFactory
protected
IconFactory
$iconFactory
$id
protected
int
$id
$isAccessibleForCurrentUser
protected
bool
$isAccessibleForCurrentUser
= false
$moduleTemplate
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageRecord
protected
array<string|int, mixed>
$pageRecord
= []
$pageRenderer
protected
PageRenderer
$pageRenderer
$recordsPageLimit
protected
int
$recordsPageLimit
= 50
$view
protected
StandaloneView
$view
Methods
__construct()
public
__construct(IconFactory $iconFactory, PageRenderer $pageRenderer, ModuleTemplateFactory $moduleTemplateFactory) : mixed
Parameters
- $iconFactory : IconFactory
- $pageRenderer : PageRenderer
- $moduleTemplateFactory : ModuleTemplateFactory
handleRequest()
Injects the request object for the current request, and renders correct action
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
-
the current request
Return values
ResponseInterface —the response with the content
indexAction()
Renders the content of the module.
public
indexAction(ServerRequestInterface $request) : mixed
Parameters
- $request : ServerRequestInterface
getBackendUser()
Returns the current BE user.
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetDataFromSession()
Gets data from the session of the current backend user.
protected
getDataFromSession(string $identifier[, string $default = null ]) : string
Parameters
- $identifier : string
-
The identifier to be used to get the data
- $default : string = null
-
The default date to be used if nothing was found in the session
Return values
string —The accordant data in the session of the current backend user
getJavaScriptConfiguration()
Gets the JavaScript configuration.
protected
getJavaScriptConfiguration(NormalizedParams $normalizedParams) : array<string|int, mixed>
Parameters
- $normalizedParams : NormalizedParams
Return values
array<string|int, mixed> —The JavaScript configuration
getLanguageService()
Returns an instance of LanguageService
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetShortcutTitle()
Returns the shortcut title for the current page
protected
getShortcutTitle() : string
Return values
stringinitializeView()
protected
initializeView(string $templateName) : mixed
Parameters
- $templateName : string
registerDocHeaderButtons()
Registers the Icons into the docheader
protected
registerDocHeaderButtons(string $route) : mixed
Parameters
- $route : string