RecordListController

class \TYPO3\CMS\Backend\Controller\RecordListController

The Web > List module: Rendering the listing of records on a page.

Attributes

#[AsController]

Table of Contents

Properties

$allowClipboard  : bool
$allowSearch  : bool
$eventDispatcher  : EventDispatcherInterface
$iconFactory  : IconFactory
$id  : int
$modTSconfig  : array
$moduleData  : ModuleData|null
$moduleTemplateFactory  : ModuleTemplateFactory
$pageInfo  : array
$pagePermissions  : Permission
$pageRenderer  : PageRenderer
$returnUrl  : string
$searchTerm  : string
$table  : string
$tcaSchemaFactory  : TcaSchemaFactory
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
mainAction()  : ResponseInterface
addNoRecordsFlashMessage()  : mixed
canCreatePreviewLink()  : bool
Returns the configuration of mod.web_list.noViewWithDokTypes or the default value 254 (Sys Folders), if not set.
createModuleUri()  : string
deleteRecords()  : void
editLockPermissions()  : bool
Check whether the current backend user is an admin or the current page is locked by edit lock.
getBackendUserAuthentication()  : BackendUserAuthentication
getDocHeaderButtons()  : void
Create the panel of buttons for submitting the form or otherwise perform operations.
getLanguageService()  : LanguageService
getShortcutTitle()  : string
Returns the shortcut title for the current page.
initializeClipboard()  : Clipboard
Process incoming data and configure the clipboard.
isPageEditable()  : bool
Check if page can be edited by current user
languageSelector()  : string
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.
renderPageTranslations()  : string
renderSearchBox()  : string
showPageTranslations()  : bool

Properties

$allowClipboard

protected bool $allowClipboard = true

$allowSearch

protected bool $allowSearch = true

$eventDispatcher read-only

protected EventDispatcherInterface $eventDispatcher

$modTSconfig

protected array $modTSconfig = []

$returnUrl

protected string $returnUrl = ''

$searchTerm

protected string $searchTerm = ''

Methods

Returns the configuration of mod.web_list.noViewWithDokTypes or the default value 254 (Sys Folders), if not set.

protected canCreatePreviewLink() : bool

Tags

todo:

this should vanish in favor of TCEMAIN.preview.disableButtonForDokType

Return values

bool

createModuleUri()

protected createModuleUri(ServerRequestInterface $request[, array $params = [] ]) : string

Parameters

$request : ServerRequestInterface
$params : array = []

Return values

string

deleteRecords()

protected deleteRecords(ServerRequestInterface $request, Clipboard $clipboard) : void

Parameters

$request : ServerRequestInterface
$clipboard : Clipboard

editLockPermissions()

Check whether the current backend user is an admin or the current page is locked by edit lock.

protected editLockPermissions() : bool

Return values

bool

getShortcutTitle()

Returns the shortcut title for the current page.

protected getShortcutTitle(array $arguments) : string

Parameters

$arguments : array

Return values

string

initializeClipboard()

Process incoming data and configure the clipboard.

protected initializeClipboard(ServerRequestInterface $request, bool $isClipboardShown) : Clipboard

Parameters

$request : ServerRequestInterface
$isClipboardShown : bool

Return values

Clipboard

isPageEditable()

Check if page can be edited by current user

protected isPageEditable() : bool

Return values

bool

languageSelector()

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.

protected languageSelector(array $siteLanguages, string $requestUri) : string

Parameters

$siteLanguages : array
$requestUri : string

Tags

throws
RouteNotFoundException

Return values

string —

HTML