SpriteIconForRecordViewHelper extends AbstractBackendViewHelper

Views sprite icon for a record (object)

Internal

Table of Contents

Properties

$escapeOutput  : bool
As this ViewHelper renders HTML, the output must not be escaped.

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
Displays spriteIcon for database table and object
renderStatic()  : string

Properties

$escapeOutput

As this ViewHelper renders HTML, the output must not be escaped.

protected bool $escapeOutput = false

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

renderStatic()

public static renderStatic(array{'table': string, 'object': object} $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array{'table': string, 'object': object}
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Tags
throws
Exception
Return values
string

        
On this page

Search results