ContentObjectGetDataHookInterface
interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getData processing
Table of Contents
Methods
- getDataExtension() : string
- Extends the getData()-Method of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer to process more/other commands
Methods
getDataExtension()
Extends the getData()-Method of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer to process more/other commands
public
getDataExtension(string $getDataString, array<string|int, mixed> $fields, string $sectionValue, string $returnValue, ContentObjectRenderer &$parentObject) : string
Parameters
- $getDataString : string
-
Full content of getData-request e.g. "TSFE:id // field:title // field:uid
- $fields : array<string|int, mixed>
-
Current field-array
- $sectionValue : string
-
Currently examined section value of the getData request e.g. "field:title
- $returnValue : string
-
Current returnValue that was processed so far by getData
- $parentObject : ContentObjectRenderer
-
Parent content object
Return values
string —Get data result