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.

data anySimpleType

Additional data-* attributes. They will each be added with a "data-" prefix.

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

Template variable name to assign; if not specified the ViewHelper returns the variable instead.

ViewHelper Resources

Schema Resources