CshViewHelper extends AbstractBackendViewHelper

FinalYes

ViewHelper which returns CSH (context sensitive help) label with icon hover.

Deprecated

.. note:: The CSH label will only work, if the current BE user has the "Context Sensitive Help mode" set to something else than "Display no help information" in the Users settings.

.. note:: This ViewHelper is experimental!

Examples

Default::

<f:be.labels.csh />

CSH label as known from the TYPO3 backend.

Full configuration::

<f:be.labels.csh table="xMOD_csh_corebe" field="someCshKey" label="lang/Resources/Private/Language/locallang/header.languages" />

CSH label as known from the TYPO3 backend with some custom settings.

Table of Contents

Properties

$escapeOutput  : bool
As this ViewHelper renders HTML, the 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.
initializeArguments()  : void
render()  : string
renderStatic()  : string
getLanguageService()  : LanguageService

Properties

$escapeOutput

As this ViewHelper renders HTML, the 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

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string

renderStatic()

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

The functionality has been removed in v12. The class will be removed in TYPO3 v13.

Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Return values
string

        
On this page

Search results