TableListViewHelper extends AbstractBackendViewHelper

ViewHelper which renders a record list as known from the TYPO3 list module.

.. note:: This feature is experimental!

Examples

Minimal::

<f:be.tableList tableName="fe_users" />

List of all "Website user" records stored in the configured storage PID. Records will be editable, if the current backend user has got edit rights for the table fe_users.

Only the title column (username) will be shown.

Context menu is active.

Full::

<f:be.tableList tableName="fe_users" fieldList="{0: 'name', 1: 'email'}" storagePid="1" levels="2" filter="foo" recordsPerPage="10" sortField="name" sortDescending="true" readOnly="true" enableClickMenu="false" enableControlPanels="true" clickTitleMode="info" />

List of "Website user" records with a text property of foo stored on PID 1 and two levels down. Clicking on a username will open the TYPO3 info popup for the respective record

Table of Contents

Properties

$configurationManager  : ConfigurationManagerInterface
$escapeOutput  : bool
As this ViewHelper renders HTML, the output must not be escaped.

Methods

getModuleTemplate()  : ModuleTemplate
Gets instance of template if exists or create a new one.
getPageRenderer()  : PageRenderer
Gets instance of PageRenderer if exists or create a new one.
initializeArguments()  : mixed
Initialize arguments.
injectConfigurationManager()  : mixed
render()  : string
Renders a record list as known from the TYPO3 list module Note: This feature is experimental!
getLanguageService()  : LanguageService

Properties

$escapeOutput

As this ViewHelper renders HTML, the output must not be escaped.

protected bool $escapeOutput = false

Methods

getModuleTemplate()

Gets instance of template if exists or create a new one.

public getModuleTemplate() : ModuleTemplate

Saves instance in viewHelperVariableContainer

Return values
ModuleTemplate

getPageRenderer()

Gets instance of PageRenderer if exists or create a new one.

public getPageRenderer() : PageRenderer

Saves instance in viewHelperVariableContainer

Return values
PageRenderer

initializeArguments()

Initialize arguments.

public initializeArguments() : mixed
Tags
throws
Exception

render()

Renders a record list as known from the TYPO3 list module Note: This feature is experimental!

public render() : string
Tags
see
DatabaseRecordList
Return values
string

the rendered record list


        
On this page

Search results