Be / Buttons / IconForRecordViewHelper

ViewHelper to show sprite icon for a record

Type: Basic

General properties

Name: Type: Description: Default value:
* table string table name  
* title string title  
* uid integer uid of record  

Examples

Basic example

Code:

<n:be.buttons.iconForRecord table="tx_news_domain_model_news" uid="{newsItem.uid}" title="" />

Output:

Icon of the news record with the given uid