TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
PagePathViewHelper Class Reference
Inheritance diagram for PagePathViewHelper:
AbstractBackendViewHelper AbstractViewHelper

Public Member Functions

 render ()
 
- Public Member Functions inherited from AbstractViewHelper
 setRenderingContext (\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 prepareArguments ()
 

Static Public Member Functions

static renderStatic (array $arguments,\Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 

Protected Attributes

 $escapeOutput = false
 
- Protected Attributes inherited from AbstractViewHelper
 $controllerContext
 
 $objectManager
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractViewHelper
 callRenderMethod ()
 
 getLogger ()
 
 registerRenderMethodArguments ()
 

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 34 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.

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

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

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

Member Data Documentation

$escapeOutput = false
protected