TYPO3  7.6
Public Member Functions | Static Public Member Functions | List of all members
PagePathViewHelper Class Reference
Inheritance diagram for PagePathViewHelper:
AbstractBackendViewHelper CompilableInterface AbstractViewHelper

Public Member Functions

 render ()
 
- Public Member Functions inherited from CompilableInterface
 compile ($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode,\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode,\TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler)
 

Static Public Member Functions

static renderStatic (array $arguments,\Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 
- Static Public Member Functions inherited from CompilableInterface
static renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractViewHelper
 registerArgument ($name, $type, $description, $required=false, $defaultValue=null)
 
 overrideArgument ($name, $type, $description, $required=false, $defaultValue=null)
 
 callRenderMethod ()
 
 getLogger ()
 
 buildRenderChildrenClosure ()
 
 hasArgument ($argumentName)
 
- Protected Attributes inherited from AbstractViewHelper
 $arguments
 
 $templateVariableContainer
 
 $controllerContext
 
 $renderingContext
 
 $renderChildrenClosure = null
 
 $viewHelperVariableContainer
 
 $objectManager
 
 $escapingInterceptorEnabled = true
 

Detailed Description

View helper which returns the current page path as known from TYPO3 backend modules Note: This view helper is experimental!

= Examples =

<f:be.pagePath /> <output> Current page path, prefixed with "Path:" and wrapped in a span with the class "typo3-docheader-pagePath" </output>

Definition at line 42 of file fluid/Classes/ViewHelpers/Be/PagePathViewHelper.php.

Member Function Documentation

render ( )

Renders the current page path

Returns
string the rendered page path
See Also
::getPagePath() Note: can't call this method as it's protected!

Definition at line 50 of file fluid/Classes/ViewHelpers/Be/PagePathViewHelper.php.

References AbstractViewHelper\buildRenderChildrenClosure().

static renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static
Parameters
array$arguments
callable$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
string

Definition at line 66 of file fluid/Classes/ViewHelpers/Be/PagePathViewHelper.php.

References $GLOBALS, GeneralUtility\_GP(), GeneralUtility\fixed_lgd_cs(), and BackendUtility\readPageAccess().