ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

reverse

Summary

Returns a reversed version of the input array.

Usage

input|reverse()

Returns

A reversed version of the input array.

Description

This operator returns a reversed version (elements in reverse order) of the input array.

Examples

Example 1

{array( 1, 2, 3, 4 )|reverse}

The following array will be returned: ( 4, 3, 2, 1 ).

Balazs Halasy (05/02/2004 9:34 am)

Balazs Halasy (04/05/2005 1:41 pm)


Comments

There are no comments.