ContentObjectGetDataHookInterface
interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getData processing
not in use anymore since TYPO3 v13, will be removed in TYPO3 14. Only stays to allow extensions to be compatible with TYPO3 v12 + v13.
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