[symfony-users] Re: Problems trying to go the previous element of a group of elements retrieved using a propel criteria.

2010-10-07 Thread Javier Garcia
Hi Gareth, Im not using foreach(), jut i'm trying to use just prev() method. Javier On Oct 7, 11:43 am, Gareth McCumskey gmccums...@gmail.com wrote: I assume that $Sedi18ns is a result from a doSelect call? If so, this means that items are stored in an array. Therefore in your TEMPLATE

Re: [symfony-users] Re: Problems trying to go the previous element of a group of elements retrieved using a propel criteria.

2010-10-07 Thread Gareth McCumskey
Thats the problem. You need to use foreach cos there IS NO prev() method. again ... http://www.symfony-project.org/gentle-introduction/1_4/en/ On Thu, Oct 7, 2010 at 1:47 PM, Javier Garcia tirengar...@gmail.com wrote: Hi Gareth, Im not using foreach(), jut i'm trying to use just prev()