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 ($pid, $titleLimit=20)
 
- 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

Get page path string from page id

Definition at line 25 of file belog/Classes/ViewHelpers/Be/PagePathViewHelper.php.

Member Function Documentation

render (   $pid,
  $titleLimit = 20 
)

Resolve page id to page path string (with automatic cropping to maximum given length).

Parameters
int$pidPid of the page
int$titleLimitLimit of the page title
Returns
string Page path string

Definition at line 34 of file belog/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 53 of file belog/Classes/ViewHelpers/Be/PagePathViewHelper.php.