IconForRecordViewHelper extends AbstractViewHelper

ViewHelper

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
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-core-iconforrecord

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

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string
On this page

Search results