ColumnSelectorController

Controller for handling the display column selection for records, typically executed from list modules.

Internal

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

Attributes
#[AsController]

Table of Contents

Properties

$backendViewFactory  : BackendViewFactory
$responseFactory  : ResponseFactoryInterface

Methods

__construct()  : mixed
showColumnsSelectorAction()  : ResponseInterface
Generate the show columns selector form
updateVisibleColumnsAction()  : ResponseInterface
Update the columns to be displayed for the given table
getBackendUserAuthentication()  : BackendUserAuthentication
getColumns()  : array<string|int, mixed>
Retrieve all columns for the table, which can be selected
getFileFields()  : array<string|int, mixed>
Get file related fields by merging sys_file and sys_file_metadata together and adding the corresponding table as prefix (needed for labels processing).
getLanguageService()  : LanguageService
htmlResponse()  : ResponseInterface
jsonResponse()  : ResponseInterface

Properties

$responseFactory read-only

protected ResponseFactoryInterface $responseFactory

Methods

showColumnsSelectorAction()

Generate the show columns selector form

public showColumnsSelectorAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

updateVisibleColumnsAction()

Update the columns to be displayed for the given table

public updateVisibleColumnsAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

getColumns()

Retrieve all columns for the table, which can be selected

protected getColumns(string $table, int $pageId) : array<string|int, mixed>
Parameters
$table : string
$pageId : int
Return values
array<string|int, mixed>

getFileFields()

Get file related fields by merging sys_file and sys_file_metadata together and adding the corresponding table as prefix (needed for labels processing).

protected getFileFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

jsonResponse()

protected jsonResponse(array<string|int, mixed> $data) : ResponseInterface
Parameters
$data : array<string|int, mixed>
Return values
ResponseInterface

        
On this page

Search results