How to order an array?

Author Message

luis muñoz

Monday 09 July 2007 4:57:18 am

The problen is:

When i concat the result of two fetch or create an array after several fetch the resulting array is obviously ordered in the same way i concated the elements. How can i reoder the array? I don't need ordering by any special attribute, default order is enought.

So, is there any operator to order the elements in an array? I've been searching in the docs but couldn't find one.

Thanks,
Luis Muñoz

Renaud Patrick

Monday 09 July 2007 6:44:51 am

Hello Luis,

I guess you'll find the answer you're looking for there : http://ez.no/ezpublish/documentation/development/kernel/custom_template_operators

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