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
$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

Properties

$request

Always set via setRequest() by ContentObjectFactory after instantiation

protected ServerRequestInterface $request

Methods

render()

Renders the content object.

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

Parameters

$conf : mixed = []

Array of TypoScript properties (marked as "mixed" currently because we don't know what we're receiving)

Tags

throws
ContentRenderingException
throws
Exception

Return values

string

setRequest()

public setRequest(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface
On this page