TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
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 (   $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 (   $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 (   $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 (   $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