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

Public Member Functions

string stdWrapPreProcess ($content, array $configuration, ContentObjectRenderer &$parentObject)
 
string stdWrapOverride ($content, array $configuration, ContentObjectRenderer &$parentObject)
 
string stdWrapProcess ($content, array $configuration, ContentObjectRenderer &$parentObject)
 
string stdWrapPostProcess ($content, array $configuration, ContentObjectRenderer &$parentObject)
 

Detailed Description

interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional stdWrap 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 ContentObjectStdWrapHookInterface.php.

Member Function Documentation

◆ stdWrapOverride()

string TYPO3\CMS\Frontend\ContentObject\ContentObjectStdWrapHookInterface::stdWrapOverride (   $content,
array  $configuration,
ContentObjectRenderer $parentObject 
)

Hook for modifying $content after core's stdWrap has processed setContentToCurrent, setCurrent, lang, data, field, current, cObject, numRows, filelist and/or preUserFunc

Parameters
string$content‪Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configuration‪TypoScript stdWrap properties
ContentObjectRenderer$parentObject‪Parent content object
Returns
‪string Further processed $content

◆ stdWrapPostProcess()

string TYPO3\CMS\Frontend\ContentObject\ContentObjectStdWrapHookInterface::stdWrapPostProcess (   $content,
array  $configuration,
ContentObjectRenderer $parentObject 
)

Hook for modifying $content after core's stdWrap has processed anything but debug

Parameters
string$content‪Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configuration‪TypoScript stdWrap properties
ContentObjectRenderer$parentObject‪Parent content object
Returns
‪string Further processed $content

◆ stdWrapPreProcess()

string TYPO3\CMS\Frontend\ContentObject\ContentObjectStdWrapHookInterface::stdWrapPreProcess (   $content,
array  $configuration,
ContentObjectRenderer $parentObject 
)

Hook for modifying $content before core's stdWrap does anything

Parameters
string$content‪Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configuration‪TypoScript stdWrap properties
ContentObjectRenderer$parentObject‪Parent content object
Returns
‪string Further processed $content

◆ stdWrapProcess()

string TYPO3\CMS\Frontend\ContentObject\ContentObjectStdWrapHookInterface::stdWrapProcess (   $content,
array  $configuration,
ContentObjectRenderer $parentObject 
)

Hook for modifying $content after core's stdWrap has processed override, preIfEmptyListNum, ifEmpty, ifBlank, listNum, trim and/or more (nested) stdWraps

Parameters
string$content‪Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configuration‪TypoScript "stdWrap properties".
ContentObjectRenderer$parentObject‪Parent content object
Returns
‪string Further processed $content