‪TYPO3CMS  9.5
TYPO3\CMS\Recordlist\Controller\RecordListController Class Reference
Inheritance diagram for TYPO3\CMS\Recordlist\Controller\RecordListController:
TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait TYPO3\CMS\Recordlist\RecordList

Public Member Functions

 __construct ()
 
ResponseInterface mainAction (ServerRequestInterface $request)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
bool __isset (string $propertyName)
 
mixed __get (string $propertyName)
 
 __set (string $propertyName, $propertyValue)
 
 __unset (string $propertyName)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait
mixed __call (string $methodName, array $arguments)
 

Public Attributes

array $modTSconfig
 
string[] $MOD_SETTINGS = array( )
 

Protected Member Functions

 init ()
 
 menuConfig ()
 
 clearCache ()
 
 main (ServerRequestInterface $request=null)
 
string languageSelector (int $id)
 
ModuleTemplate getModuleTemplate ()
 
BackendUserAuthentication getBackendUserAuthentication ()
 
LanguageService getLanguageService ()
 
PageRenderer getPageRenderer ()
 

Protected Attributes

int $id
 
int $pointer
 
string $imagemode
 
string $table
 
string $search_field
 
int $search_levels
 
int $showLimit
 
string $returnUrl
 
bool $clear_cache
 
string $cmd
 
string $cmd_table
 
int $perms_clause
 
mixed[] bool $pageinfo
 
DocumentTemplate $doc
 
string[] $MOD_MENU = array( )
 
string $content
 
string $body = ''
 
PageRenderer $pageRenderer
 
IconFactory $iconFactory
 
ModuleTemplate $moduleTemplate
 
SiteInterface $site
 
SiteLanguage[] $siteLanguages = array( )
 

Private Attributes

array $deprecatedPublicProperties
 
array $deprecatedPublicMethods
 

Detailed Description

Script Class for the Web > List module; rendering the listing of records on a page

This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.

Definition at line 50 of file RecordListController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Recordlist\Controller\RecordListController::__construct ( )

Member Function Documentation

◆ clearCache()

TYPO3\CMS\Recordlist\Controller\RecordListController::clearCache ( )
protected

Clears page cache for the current id, $this->id

Definition at line 285 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\mainAction().

◆ getBackendUserAuthentication()

◆ getLanguageService()

LanguageService TYPO3\CMS\Recordlist\Controller\RecordListController::getLanguageService ( )
protected

◆ getModuleTemplate()

ModuleTemplate TYPO3\CMS\Recordlist\Controller\RecordListController::getModuleTemplate ( )
protected
Returns
‪ModuleTemplate

Definition at line 727 of file RecordListController.php.

References TYPO3\CMS\Recordlist\Controller\RecordListController\$moduleTemplate.

◆ getPageRenderer()

PageRenderer TYPO3\CMS\Recordlist\Controller\RecordListController::getPageRenderer ( )
protected

◆ init()

◆ languageSelector()

string TYPO3\CMS\Recordlist\Controller\RecordListController::languageSelector ( int  $id)
protected

Make selector box for creating new translation in a language Displays only languages which are not yet present for the current page and that are not disabled with page TS.

Parameters
int$id‪Page id for which to create a new translation record of pages
Returns
‪string <select> HTML element (if there were items for the box anyways...)

Definition at line 663 of file RecordListController.php.

References $GLOBALS, TYPO3\CMS\Recordlist\Controller\RecordListController\$id, $output, TYPO3\CMS\Recordlist\Controller\RecordListController\getBackendUserAuthentication(), TYPO3\CMS\Recordlist\Controller\RecordListController\getLanguageService(), and TYPO3\CMS\Backend\Utility\BackendUtility\getLinkToDataHandlerAction().

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\main().

◆ main()

TYPO3\CMS\Recordlist\Controller\RecordListController::main ( ServerRequestInterface  $request = null)
protected

◆ mainAction()

ResponseInterface TYPO3\CMS\Recordlist\Controller\RecordListController::mainAction ( ServerRequestInterface  $request)

Injects the request object for the current request or subrequest Simply calls main() and init() and outputs the content

Parameters
ServerRequestInterface$request‪the current request
Returns
‪ResponseInterface the response with the content

Definition at line 641 of file RecordListController.php.

References $GLOBALS, TYPO3\CMS\Recordlist\Controller\RecordListController\clearCache(), TYPO3\CMS\Recordlist\Controller\RecordListController\getBackendUserAuthentication(), TYPO3\CMS\Recordlist\Controller\RecordListController\init(), TYPO3\CMS\Backend\Utility\BackendUtility\lockRecords(), and TYPO3\CMS\Recordlist\Controller\RecordListController\main().

◆ menuConfig()

TYPO3\CMS\Recordlist\Controller\RecordListController::menuConfig ( )
protected

Member Data Documentation

◆ $body

string TYPO3\CMS\Recordlist\Controller\RecordListController::$body = ''
protected

◆ $clear_cache

bool TYPO3\CMS\Recordlist\Controller\RecordListController::$clear_cache
protected

Clear-cache flag - if set, clears page cache for current id.

Definition at line 138 of file RecordListController.php.

◆ $cmd

string TYPO3\CMS\Recordlist\Controller\RecordListController::$cmd
protected

Command: Eg. "delete" or "setCB" (for DataHandler / clipboard operations)

Definition at line 144 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkClipboardHeaderIcon(), and TYPO3\CMS\Recordlist\Controller\RecordListController\main().

◆ $cmd_table

string TYPO3\CMS\Recordlist\Controller\RecordListController::$cmd_table
protected

Table on which the cmd-action is performed.

Definition at line 150 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\main().

◆ $content

◆ $deprecatedPublicMethods

array TYPO3\CMS\Recordlist\Controller\RecordListController::$deprecatedPublicMethods
private
Initial value:
= array(
'init' => 'Using RecordListController::init() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'menuConfig' => 'Using RecordListController::menuConfig() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'clearCache' => 'Using RecordListController::clearCache() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'main' => 'Using RecordListController::main() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'getModuleTemplate' => 'Using RecordListController::getModuleTemplate() is deprecated and will not be possible anymore in TYPO3 v10.0.',
)

Definition at line 77 of file RecordListController.php.

◆ $deprecatedPublicProperties

array TYPO3\CMS\Recordlist\Controller\RecordListController::$deprecatedPublicProperties
private
Initial value:
= array(
'id' => 'Using RecordListController::$id is deprecated and will not be possible anymore in TYPO3 v10.0.',
'pointer' => 'Using RecordListController::$pointer is deprecated and will not be possible anymore in TYPO3 v10.0.',
'table' => 'Using RecordListController::$table is deprecated and will not be possible anymore in TYPO3 v10.0.',
'search_field' => 'Using RecordListController::$search_field is deprecated and will not be possible anymore in TYPO3 v10.0.',
'search_levels' => 'Using RecordListController::$search_levels is deprecated and will not be possible anymore in TYPO3 v10.0.',
'showLimit' => 'Using RecordListController::$showLimit is deprecated and will not be possible anymore in TYPO3 v10.0.',
'returnUrl' => 'Using RecordListController::$returnUrl is deprecated and will not be possible anymore in TYPO3 v10.0.',
'clear_cache' => 'Using RecordListController::$clear_cache is deprecated and will not be possible anymore in TYPO3 v10.0.',
'cmd' => 'Using RecordListController::$cmd is deprecated and will not be possible anymore in TYPO3 v10.0.',
'cmd_table' => 'Using RecordListController::$cmd_table is deprecated and will not be possible anymore in TYPO3 v10.0.',
'perms_clause' => 'Using RecordListController::$perms_clause is deprecated and will not be possible anymore in TYPO3 v10.0.',
'pageinfo' => 'Using RecordListController::$pageinfo is deprecated and will not be possible anymore in TYPO3 v10.0.',
'MOD_MENU' => 'Using RecordListController::$MOD_MENU is deprecated and will not be possible anymore in TYPO3 v10.0.',
'content' => 'Using RecordListController::$content is deprecated and will not be possible anymore in TYPO3 v10.0.',
'body' => 'Using RecordListController::$body is deprecated and will not be possible anymore in TYPO3 v10.0.',
'imagemode' => 'Using RecordListController::$imagemode is deprecated, property will be removed in TYPO3 v10.0.',
'doc' => 'Using RecordListController::$doc is deprecated, property will be removed in TYPO3 v10.0.',
)

Definition at line 55 of file RecordListController.php.

◆ $doc

DocumentTemplate TYPO3\CMS\Recordlist\Controller\RecordListController::$doc
protected

Document template object

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 176 of file RecordListController.php.

◆ $iconFactory

IconFactory TYPO3\CMS\Recordlist\Controller\RecordListController::$iconFactory
protected

Definition at line 207 of file RecordListController.php.

◆ $id

int TYPO3\CMS\Recordlist\Controller\RecordListController::$id
protected

Page Id for which to make the listing

Definition at line 89 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\languageSelector().

◆ $imagemode

string TYPO3\CMS\Recordlist\Controller\RecordListController::$imagemode
protected

Thumbnails or not

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.

Definition at line 102 of file RecordListController.php.

◆ $MOD_MENU

string [] TYPO3\CMS\Recordlist\Controller\RecordListController::$MOD_MENU = array( )
protected

Menu configuration

Definition at line 182 of file RecordListController.php.

◆ $MOD_SETTINGS

string [] TYPO3\CMS\Recordlist\Controller\RecordListController::$MOD_SETTINGS = array( )

Module settings (session variable)

Still used by DatabaseRecordList via $GLOBALS['SOBE']

Definition at line 189 of file RecordListController.php.

◆ $modTSconfig

array TYPO3\CMS\Recordlist\Controller\RecordListController::$modTSconfig

Module TSconfig

Still used by DatabaseRecordList via $GLOBALS['SOBE']

Definition at line 163 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\main().

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Recordlist\Controller\RecordListController::$moduleTemplate
protected

◆ $pageinfo

mixed [] bool TYPO3\CMS\Recordlist\Controller\RecordListController::$pageinfo
protected

Current ids page record

Definition at line 169 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\main().

◆ $pageRenderer

PageRenderer TYPO3\CMS\Recordlist\Controller\RecordListController::$pageRenderer
protected

◆ $perms_clause

int TYPO3\CMS\Recordlist\Controller\RecordListController::$perms_clause
protected

Page select perms clause

Definition at line 156 of file RecordListController.php.

◆ $pointer

int TYPO3\CMS\Recordlist\Controller\RecordListController::$pointer
protected

◆ $returnUrl

string TYPO3\CMS\Recordlist\Controller\RecordListController::$returnUrl
protected

Return URL

Definition at line 132 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\main().

◆ $search_field

string TYPO3\CMS\Recordlist\Controller\RecordListController::$search_field
protected

Search-fields

Definition at line 114 of file RecordListController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\RecordListController\init().

◆ $search_levels

int TYPO3\CMS\Recordlist\Controller\RecordListController::$search_levels
protected

Search-levels

Definition at line 120 of file RecordListController.php.

◆ $showLimit

int TYPO3\CMS\Recordlist\Controller\RecordListController::$showLimit
protected

Show-limit

Definition at line 126 of file RecordListController.php.

◆ $site

SiteInterface TYPO3\CMS\Recordlist\Controller\RecordListController::$site
protected

Definition at line 217 of file RecordListController.php.

◆ $siteLanguages

SiteLanguage [] TYPO3\CMS\Recordlist\Controller\RecordListController::$siteLanguages = array( )
protected

Definition at line 221 of file RecordListController.php.

◆ $table

string TYPO3\CMS\Recordlist\Controller\RecordListController::$table
protected

Which table to make extended listing for

Definition at line 108 of file RecordListController.php.