PagePathViewHelper extends AbstractBackendViewHelper
FinalYes
Get page path string from page id
Table of Contents
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
- Resolve page id to page path string (with automatic cropping to maximum given length).
- renderStatic() : string
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
PageRendererinitializeArguments()
public
initializeArguments() : void
render()
Resolve page id to page path string (with automatic cropping to maximum given length).
public
render() : string
Return values
stringrenderStatic()
public
static renderStatic(array{pid: int, titleLimit: int} $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : array{pid: int, titleLimit: int}
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface