input|unique()
This operator removes duplicate elements from the input array.
{array( 1, 2, 2, 3, 4, 4, 5 )|unique}
The following array will be returned: ( 1, 2, 3, 4, 5 ).
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.