PagePathViewHelper extends AbstractBackendViewHelper

FinalYes

Get page path string from page id

Internal

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
todo:

deprecate. This should be obsolete with the new ModuleTemplate view strategy.

Return values
ModuleTemplate

getPageRenderer()

Gets instance of PageRenderer if exists or create a new one.

public getPageRenderer() : PageRenderer

Saves instance in viewHelperVariableContainer

Return values
PageRenderer

initializeArguments()

public initializeArguments() : void

render()

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

public render() : string
Return values
string

renderStatic()

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
Return values
string

        
On this page

Search results