sequence

Summary

Creates a sequence that can be iterated.

Usage

{sequence name=name loop=loop}

Parameters

NameTypeDescriptionRequired
name string The name of the target namespace. Yes.
loop array The iteration elements (as an array). Yes.

Description

This function allows the creation of a sequence which can be iterated. If the number of iterations exceed the length of the sequence, the contents of the sequence will be wrapped and thus repeated. It is typically useful when it comes to the creation of lists / tables with alternating colors. Both the name and the elements (which will be iterated) must be defined.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.