resource.record ViewHelper <vhs:resource.record>¶
Generic FAL resource ViewHelper.
Warning
This view helper must only be used with FAL resources. It is not meant to be used as generic data loading view helper.
Arguments¶
table¶
- DataType
 string
- Required
 true
- Description
 The table to lookup records.
field¶
- DataType
 string
- Required
 true
- Description
 The field of the table associated to resources.
record¶
- DataType
 mixed
- Required
 false
- Description
 The actual record. Alternatively you can use the "uid" argument.
uid¶
- DataType
 integer
- Required
 false
- Description
 The uid of the record. Alternatively you can use the "record" argument.
as¶
- DataType
 string
- Required
 false
- Description
 If specified, a template variable with this name containing the requested data will be inserted instead of returning it.