PageInfoViewHelper extends AbstractBackendViewHelper

FinalYes

ViewHelper which return page info icon as known from TYPO3 backend modules.

.. note:: This ViewHelper is experimental!

Examples

Default::

<f:be.pageInfo />

Page info icon with context menu

Tags
todo:

Candidate to deprecate? The page info is typically displayed in doc header, done by ModuleTemplate in controllers.

Table of Contents

Properties

$escapeOutput  : bool
This ViewHelper renders HTML, thus output must not be escaped

Methods

getModuleTemplate()  : ModuleTemplate
Gets instance of template if exists or create a new one.
getPageRenderer()  : PageRenderer
Gets instance of PageRenderer if exists or create a new one.
render()  : string
renderStatic()  : string

Properties

$escapeOutput

This ViewHelper renders HTML, thus output must not be escaped

protected bool $escapeOutput = false

Methods

getModuleTemplate()

Gets instance of template if exists or create a new one.

public getModuleTemplate() : ModuleTemplate

Saves instance in viewHelperVariableContainer

Tags
todo:

deprecate. This should be obsolete with the new ModuleTemplate view strategy.

Return values
ModuleTemplate

getPageRenderer()

Gets instance of PageRenderer if exists or create a new one.

public getPageRenderer() : PageRenderer

Saves instance in viewHelperVariableContainer

Return values
PageRenderer

render()

public render() : string
Return values
string

renderStatic()

public static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Return values
string

        
On this page

Search results