SpriteIconForRecordViewHelper extends AbstractBackendViewHelper
FinalYes
Views sprite icon for a record (object)
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() : void
- 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
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()
Displays spriteIcon for database table and object
public
render() : string
Return values
stringrenderStatic()
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