Package

ViewHelpers

ViewHelper Documentation

v:resource.collection

Collection ViewHelper

This viewhelper returns a collection referenced by uid. For more information look here: http://docs.typo3.org/typo3cms/CoreApiReference/6.2/ApiOverview/Collections/Index.html#collections-api

Example

{v:resource.collection(uid:'123') -> v:var.set(name: 'someCollection')}

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.

uid integer

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.

ViewHelper Resources

Schema Resources