AbstractContentObject

abstract class \TYPO3\CMS\Frontend\ContentObject\AbstractContentObject

Contains an abstract class for all tslib content class implementations.

Table of Contents

Properties

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

Methods

getContentObjectRenderer()  : ContentObjectRenderer
render()  : string
Renders the content object.
setContentObjectRenderer()  : void
setRequest()  : void
getPageRenderer()  : PageRenderer
getPageRepository()  : PageRepository
getTypoScriptFrontendController()  : TypoScriptFrontendController
hasTypoScriptFrontendController()  : bool

Properties

$request

Always set via setRequest() by ContentObjectFactory after instantiation

protected ServerRequestInterface $request

Methods

render()

Renders the content object.

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

Parameters

$conf : array = []

Return values

string

setRequest()

public setRequest(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface

hasTypoScriptFrontendController()

protected hasTypoScriptFrontendController() : bool

Return values

bool
On this page