PagePathViewHelper extends AbstractBackendViewHelper

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()  : mixed
Initializes the arguments
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

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()

Initializes the arguments

public initializeArguments() : mixed

render()

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

public render() : string
Return values
string

Page path 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