Package

ViewHelpers

ViewHelper Documentation

v:resource.file

ViewHelper to output or assign FAL sys_file records

Arguments

additionalAttributes anySimpleType

Additional tag attributes. They will be added directly to the resulting HTML tag.

identifier anySimpleType

The FAL combined identifiers (either CSV, array or implementing Traversable).

categories anySimpleType

The sys_category records to select the resources from (either CSV, array or implementing Traversable).

treatIdAsUid boolean

If TRUE, the identifier argument is treated as resource uids.

treatIdAsReference boolean

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

as string

If specified, a template variable with this name containing the requested data will be inserted instead of returning it.

ViewHelper Resources

Schema Resources