ContentContentObject

class \TYPO3\CMS\Frontend\ContentObject\ContentContentObject

Extends
AbstractContentObject

Contains CONTENT class object.

Table of Contents

Properties

$cObj  : ContentObjectRenderer|null
$request  : ServerRequestInterface
Always set via setRequest() by ContentObjectFactory after instantiation

Methods

__construct()  : mixed
getContentObjectRenderer()  : ContentObjectRenderer
render()  : string
Rendering the cObject, CONTENT
setContentObjectRenderer()  : void
setRequest()  : void
generateNotCachedContentPlaceholder()  : string
getPageRepository()  : PageRepository

Properties

$request

Always set via setRequest() by ContentObjectFactory after instantiation

protected ServerRequestInterface $request

Methods

render()

Rendering the cObject, CONTENT

public render([array $conf = [] ]) : string

Parameters

$conf : array = []

Array of TypoScript properties

Return values

string —

Output

setRequest()

public setRequest(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface

generateNotCachedContentPlaceholder()

protected generateNotCachedContentPlaceholder(ServerRequestInterface $request, array $conf) : string

Parameters

$request : ServerRequestInterface
$conf : array

Return values

string
On this page