‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\ContentObject\ContentObjectGetDataHookInterface Interface Reference

Public Member Functions

string getDataExtension ($getDataString, array $fields, $sectionValue, $returnValue, ContentObjectRenderer &$parentObject)
 

Detailed Description

interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getData processing

Deprecated:
‪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.

Definition at line 24 of file ContentObjectGetDataHookInterface.php.

Member Function Documentation

◆ getDataExtension()

string TYPO3\CMS\Frontend\ContentObject\ContentObjectGetDataHookInterface::getDataExtension (   $getDataString,
array  $fields,
  $sectionValue,
  $returnValue,
ContentObjectRenderer $parentObject 
)

Extends the getData()-Method of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer to process more/other commands

Parameters
string$getDataString‪Full content of getData-request e.g. "TSFE:id // field:title // field:uid
array$fields‪Current field-array
string$sectionValue‪Currently examined section value of the getData request e.g. "field:title
string$returnValue‪Current returnValue that was processed so far by getData
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer$parentObject‪Parent content object
Returns
‪string Get data result