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 <[email protected]> wrote: > Hi Gareth, > > Im not using foreach(), jut i'm trying to use just prev() method. > > Javier > > On Oct 7, 11:43 am, Gareth McCumskey <[email protected]> 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 file: > > > > <?php foreach ($Sedi18ns as $SediObj): ?> > > <?php echo $Sedi.... > > > > Hang on, I have answered enough of these .... Every one of your questions > > are answered in the documentation already provided. > > > > Here ... READ FIRST! > > > > http://www.symfony-project.org/gentle-introduction/1_4/en/ > > > > > > > > On Wed, Oct 6, 2010 at 7:09 PM, Javier Garci <[email protected]> > wrote: > > > Hi, > > > > > i have retrieved a group of elements using a propel criteria. Now are > at > > > $Sedi18ns > > > > > When i use this: > > > > > $SediI18ns->prev() > > > > > I get: > > > > > ( ! ) Fatal error: Call to undefined method > > > sfOutputEscaperArrayDecorator::prev() in > > > > /home/javier/Aptana_Studio_Workspace/cashgold/apps/cashgold/modules/contatti/templates/indexSuccess.php > > > on line 29 > > > > > No problems when i use next(). > > > > > Any idea? > > > > > symfony 1.4/propel > > > > > Javi > > > > > -- > > > If you want to report a vulnerability issue on symfony, please send it > to > > > security at symfony-project.com > > > > > You received this message because you are subscribed to the Google > > > Groups "symfony users" group. > > > To post to this group, send email to [email protected] > > > To unsubscribe from this group, send email to > > > [email protected]<symfony-users%[email protected]> > <symfony-users%[email protected]<symfony-users%[email protected]> > > > > > For more options, visit this group at > > >http://groups.google.com/group/symfony-users?hl=en > > > > -- > > Gareth McCumskeyhttp://garethmccumskey.blogspot.com > > twitter: @garethmcc > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
