PageInfoViewHelper extends AbstractBackendViewHelper

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

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
Render javascript in header
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

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()

Render javascript in header

public render() : string
Return values
string

the rendered page info icon

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