ContentObjectStdWrapHookInterface

interface \TYPO3\CMS\Frontend\ContentObject\ContentObjectStdWrapHookInterface

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

Table of Contents

Methods

stdWrapOverride()  : string
Hook for modifying $content after core's stdWrap has processed setContentToCurrent, setCurrent, lang, data, field, current, cObject, numRows, filelist and/or preUserFunc
stdWrapPostProcess()  : string
Hook for modifying $content after core's stdWrap has processed anything but debug
stdWrapPreProcess()  : string
Hook for modifying $content before core's stdWrap does anything
stdWrapProcess()  : string
Hook for modifying $content after core's stdWrap has processed override, preIfEmptyListNum, ifEmpty, ifBlank, listNum, trim and/or more (nested) stdWraps

Methods

stdWrapOverride()

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

public stdWrapOverride(string $content, array $configuration, ContentObjectRenderer &$parentObject) : string

Parameters

$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array

TypoScript stdWrap properties

$parentObject : ContentObjectRenderer

Parent content object

Return values

string —

Further processed $content

stdWrapPostProcess()

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

public stdWrapPostProcess(string $content, array $configuration, ContentObjectRenderer &$parentObject) : string

Parameters

$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array

TypoScript stdWrap properties

$parentObject : ContentObjectRenderer

Parent content object

Return values

string —

Further processed $content

stdWrapPreProcess()

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

public stdWrapPreProcess(string $content, array $configuration, ContentObjectRenderer &$parentObject) : string

Parameters

$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array

TypoScript stdWrap properties

$parentObject : ContentObjectRenderer

Parent content object

Return values

string —

Further processed $content

stdWrapProcess()

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

public stdWrapProcess(string $content, array $configuration, ContentObjectRenderer &$parentObject) : string

Parameters

$content : string

Input value undergoing processing in this function. Possibly substituted by other values fetched from another source.

$configuration : array

TypoScript "stdWrap properties".

$parentObject : ContentObjectRenderer

Parent content object

Return values

string —

Further processed $content

On this page