DataProviderContext

FinalYes

Context that is forwarded to backend layout data providers.

Table of Contents

Properties

$data  : array<string|int, mixed>
$fieldName  : string
$pageId  : int
$pageTsConfig  : array<string|int, mixed>
$tableName  : string

Methods

__construct()  : mixed
getData()  : array<string|int, mixed>
getFieldName()  : string
getPageId()  : int
getPageTsConfig()  : array<string|int, mixed>
getTableName()  : string
setData()  : self
setFieldName()  : self
setPageId()  : self
setPageTsConfig()  : self
setTableName()  : self

Properties

$data

public array<string|int, mixed> $data = []

$pageTsConfig

public array<string|int, mixed> $pageTsConfig = []

Methods

__construct()

public __construct([int $pageId = 0 ][, string $tableName = '' ][, string $fieldName = '' ][, array<string|int, mixed> $data = [] ][, array<string|int, mixed> $pageTsConfig = [] ]) : mixed
Parameters
$pageId : int = 0
$tableName : string = ''
$fieldName : string = ''
$data : array<string|int, mixed> = []
$pageTsConfig : array<string|int, mixed> = []
Tags
todo:

Declare arguments non-optional in TYPO3 v14.

getData()

public getData() : array<string|int, mixed>
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
array<string|int, mixed>

getFieldName()

public getFieldName() : string
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
string

getPageId()

public getPageId() : int
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
int

getPageTsConfig()

public getPageTsConfig() : array<string|int, mixed>
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
array<string|int, mixed>

getTableName()

public getTableName() : string
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
string

setData()

public setData(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
self

setFieldName()

public setFieldName(string $fieldName) : self
Parameters
$fieldName : string
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
self

setPageId()

public setPageId(int $pageId) : self
Parameters
$pageId : int
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
self

setPageTsConfig()

public setPageTsConfig(array<string|int, mixed> $pageTsConfig) : self
Parameters
$pageTsConfig : array<string|int, mixed>
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
self

setTableName()

public setTableName(string $tableName) : self
Parameters
$tableName : string
Tags
deprecated:

Remove all setters and getters and set readonly in TYPO3 v14.

Return values
self

        
On this page

Search results