IconForRecordViewHelper extends AbstractViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <core:iconforrecord>
FinalYes
ViewHelper to display an icon for a record.
The record can be given as a plain database row, which requires the table to be set as well, or as a record object, which already carries its table. The arguments "row" and "record" are interchangeable, exactly one of them must be given.
<core:iconForRecord table="tt_content" row="{row}" />
<core:iconForRecord record="{record}" />
<core:iconForRecord row="{record}" />
Tags
Table of Contents
Properties
- $escapeOutput : bool
- ViewHelper returns HTML, thus we need to disable output escaping
Methods
- __construct() : mixed
- initializeArguments() : void
- render() : string
Properties
$escapeOutput
ViewHelper returns HTML, thus we need to disable output escaping
protected
bool
$escapeOutput
= false
Methods
__construct()
public
__construct(IconFactory $iconFactory) : mixed
Parameters
- $iconFactory : IconFactory
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string