LoadRegisterContentObject

class \TYPO3\CMS\Frontend\ContentObject\LoadRegisterContentObject

Extends
AbstractContentObject

Implement cObj "LOAD_REGISTER": Get latest Register, clone it, set a key/value, push as new latest RegisterStack entry.

Note the naming "LOAD_REGISTER" is kinda misleading since it rather "loads into" or sets a new value and pushes as key/value to the stack. "RESTORE_REGISTER" is the counterpart cObj to get rid of that state again.

Table of Contents

Properties

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

Methods

getContentObjectRenderer()  : ContentObjectRenderer
render()  : string
Does not return any content, it just sets internal data based on the TypoScript properties.
setContentObjectRenderer()  : void
setRequest()  : void
generateNotCachedContentPlaceholder()  : string
getPageRepository()  : PageRepository

Properties

$request

Always set via setRequest() by ContentObjectFactory after instantiation

protected ServerRequestInterface $request

Methods

render()

Does not return any content, it just sets internal data based on the TypoScript properties.

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

Parameters

$conf : mixed = []

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

Return values

string —

Empty string

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