TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\ContentObject\ContentObjectStdWrapHookInterface Interface Reference

Public Member Functions

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

Detailed Description

interface for classes which hook into and do additional stdWrap processing

Definition at line 20 of file ContentObjectStdWrapHookInterface.php.

Member Function Documentation

◆ stdWrapOverride()

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$contentInput value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configurationTypoScript stdWrap properties
ContentObjectRenderer$parentObjectParent content object
Returns
string Further processed $content

◆ stdWrapPostProcess()

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$contentInput value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configurationTypoScript stdWrap properties
ContentObjectRenderer$parentObjectParent content object
Returns
string Further processed $content

◆ stdWrapPreProcess()

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

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

Parameters
string$contentInput value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configurationTypoScript stdWrap properties
ContentObjectRenderer$parentObjectParent content object
Returns
string Further processed $content

◆ stdWrapProcess()

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$contentInput value undergoing processing in this function. Possibly substituted by other values fetched from another source.
array$configurationTypoScript "stdWrap properties".
ContentObjectRenderer$parentObjectParent content object
Returns
string Further processed $content