resource.file ViewHelper <vhs:resource.file> 

ViewHelper to output or assign FAL sys_file records.

Arguments 

additionalAttributes 

DataType
mixed
Required
false
Description
Additional tag attributes. They will be added directly to the resulting HTML tag.

data 

DataType
mixed
Required
false
Description
Additional data-* attributes. They will each be added with a "data-" prefix.

aria 

DataType
mixed
Required
false
Description
Additional aria-* attributes. They will each be added with a "aria-" prefix.

identifier 

DataType
mixed
Required
false
Description
The FAL combined identifiers (either CSV, array or implementing Traversable).

categories 

DataType
mixed
Required
false
Description
The sys_category records to select the resources from (either CSV, array or implementing Traversable).

treatIdAsUid 

DataType
boolean
Required
false
Description
If TRUE, the identifier argument is treated as resource uids.

treatIdAsReference 

DataType
boolean
Required
false
Description
If TRUE, the identifier argument is treated as reference uids and will be resolved to resources via sys_file_reference.

as 

DataType
string
Required
false
Description
Template variable name to assign; if not specified the ViewHelper returns the variable instead.

onlyProperties 

DataType
boolean
Default
true
Required
false
Description
Whether to return only the properties array of the sys_file record and not the File object itself