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
$pageRenderer  : PageRenderer|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
getPageRenderer()  : PageRenderer
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([array<string|int, mixed> $conf = [] ]) : string
Parameters
$conf : array<string|int, mixed> = []

Array of TypoScript properties

Return values
string

Empty string

setRequest()

public setRequest(ServerRequestInterface $request) : void
Parameters
$request : ServerRequestInterface

        
On this page

Search results