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

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

        
On this page

Search results