SpriteIconForRecordViewHelper extends AbstractBackendViewHelper
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() : 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
ModuleTemplategetPageRenderer()
Gets instance of PageRenderer if exists or create a new one.
public
getPageRenderer() : PageRenderer
Saves instance in viewHelperVariableContainer
Return values
PageRendererinitializeArguments()
Initializes the arguments
public
initializeArguments() : mixed
render()
Displays spriteIcon for database table and object
public
render() : string
Tags
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