PagePathViewHelper extends AbstractBackendViewHelper
FinalYes
ViewHelper which returns the current page path as known from TYPO3 backend modules.
.. note:: This ViewHelper is experimental!
Examples
Default::
<f:be.pagePath />
Current page path, prefixed with "Path:" and wrapped in a span with the class typo3-docheader-pagePath
.
Tags
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
- getLanguageService() : LanguageService
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
Return values
ModuleTemplategetPageRenderer()
Gets instance of PageRenderer if exists or create a new one.
public
getPageRenderer() : PageRenderer
Saves instance in viewHelperVariableContainer
Return values
PageRendererrender()
public
render() : string
Return values
stringrenderStatic()
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
stringgetLanguageService()
protected
static getLanguageService() : LanguageService