‪TYPO3CMS  11.5
TYPO3\CMS\Recycler\Controller\RecyclerModuleController Class Reference

Public Member Functions

 __construct (IconFactory $iconFactory, PageRenderer $pageRenderer, ModuleTemplateFactory $moduleTemplateFactory)
 
ResponseInterface handleRequest (ServerRequestInterface $request)
 
 indexAction (ServerRequestInterface $request)
 

Protected Member Functions

 initializeView (string $templateName)
 
 registerDocHeaderButtons (string $route)
 
array getJavaScriptConfiguration (NormalizedParams $normalizedParams)
 
string getDataFromSession ($identifier, $default=null)
 
string getShortcutTitle ()
 
BackendUserAuthentication getBackendUser ()
 
LanguageService getLanguageService ()
 

Protected Attributes

array $pageRecord = array( )
 
bool $isAccessibleForCurrentUser = false
 
bool $allowDelete = false
 
int $recordsPageLimit = 50
 
int $id
 
StandaloneView $view
 
ModuleTemplate $moduleTemplate
 
IconFactory $iconFactory
 
PageRenderer $pageRenderer
 
ModuleTemplateFactory $moduleTemplateFactory
 

Detailed Description

Backend Module for the 'recycler' extension.

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 40 of file RecyclerModuleController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Recycler\Controller\RecyclerModuleController::__construct ( IconFactory  $iconFactory,
PageRenderer  $pageRenderer,
ModuleTemplateFactory  $moduleTemplateFactory 
)

Member Function Documentation

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Recycler\Controller\RecyclerModuleController::getBackendUser ( )
protected

◆ getDataFromSession()

string TYPO3\CMS\Recycler\Controller\RecyclerModuleController::getDataFromSession (   $identifier,
  $default = null 
)
protected

Gets data from the session of the current backend user.

Parameters
string$identifier‪The identifier to be used to get the data
string$default‪The default date to be used if nothing was found in the session
Returns
‪string The accordant data in the session of the current backend user

Definition at line 215 of file RecyclerModuleController.php.

References TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getBackendUser().

Referenced by TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getJavaScriptConfiguration().

◆ getJavaScriptConfiguration()

◆ getLanguageService()

LanguageService TYPO3\CMS\Recycler\Controller\RecyclerModuleController::getLanguageService ( )
protected

◆ getShortcutTitle()

string TYPO3\CMS\Recycler\Controller\RecyclerModuleController::getShortcutTitle ( )
protected

Returns the shortcut title for the current page

Returns
‪string

Definition at line 231 of file RecyclerModuleController.php.

References TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getLanguageService().

Referenced by TYPO3\CMS\Recycler\Controller\RecyclerModuleController\registerDocHeaderButtons().

◆ handleRequest()

ResponseInterface TYPO3\CMS\Recycler\Controller\RecyclerModuleController::handleRequest ( ServerRequestInterface  $request)

◆ indexAction()

TYPO3\CMS\Recycler\Controller\RecyclerModuleController::indexAction ( ServerRequestInterface  $request)

Renders the content of the module.

Parameters
ServerRequestInterface$request

Definition at line 147 of file RecyclerModuleController.php.

References TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getJavaScriptConfiguration(), and TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getLanguageService().

◆ initializeView()

TYPO3\CMS\Recycler\Controller\RecyclerModuleController::initializeView ( string  $templateName)
protected
Parameters
string$templateName

Definition at line 132 of file RecyclerModuleController.php.

Referenced by TYPO3\CMS\Recycler\Controller\RecyclerModuleController\handleRequest().

◆ registerDocHeaderButtons()

TYPO3\CMS\Recycler\Controller\RecyclerModuleController::registerDocHeaderButtons ( string  $route)
protected

Member Data Documentation

◆ $allowDelete

bool TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$allowDelete = false
protected

◆ $iconFactory

IconFactory TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$iconFactory
protected

◆ $id

int TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$id
protected

◆ $isAccessibleForCurrentUser

bool TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$isAccessibleForCurrentUser = false
protected

Definition at line 48 of file RecyclerModuleController.php.

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$moduleTemplate
protected

Definition at line 68 of file RecyclerModuleController.php.

◆ $moduleTemplateFactory

ModuleTemplateFactory TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$moduleTemplateFactory
protected

◆ $pageRecord

array TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$pageRecord = array( )
protected

Definition at line 44 of file RecyclerModuleController.php.

◆ $pageRenderer

PageRenderer TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$pageRenderer
protected

◆ $recordsPageLimit

int TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$recordsPageLimit = 50
protected

◆ $view

StandaloneView TYPO3\CMS\Recycler\Controller\RecyclerModuleController::$view
protected

Definition at line 64 of file RecyclerModuleController.php.