RecyclerModuleController

Backend Module for the 'recycler' extension.

Internal

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

$isAccessibleForCurrentUser

protected bool $isAccessibleForCurrentUser = false

$pageRecord

protected array<string|int, mixed> $pageRecord = []

$recordsPageLimit

protected int $recordsPageLimit = 50

Methods

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

getDataFromSession()

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

getShortcutTitle()

Returns the shortcut title for the current page

protected getShortcutTitle() : string
Return values
string

initializeView()

protected initializeView(string $templateName) : mixed
Parameters
$templateName : string

registerDocHeaderButtons()

Registers the Icons into the docheader

protected registerDocHeaderButtons(string $route) : mixed
Parameters
$route : string
Tags
throws
InvalidArgumentException

        
On this page

Search results