Re: {n} in generateList : What does that mean ?

2008-01-07 Thread Robby Anderson
Whoa. Very cool link indeed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROT

Re: {n} in generateList : What does that mean ?

2008-01-07 Thread seb
> Try checking out this link, it might explain it better: > > http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/ Thanks for this link ! It's much more clearer for me now. --~--~-~--~~~---~--~~ You received this message because yo

Re: {n} in generateList : What does that mean ?

2008-01-07 Thread Chris Hartjes
On Jan 7, 2008 12:44 PM, metalseb <[EMAIL PROTECTED]> wrote: > > Hi there bakers ! > > I had to generate code for a select tag this afternoon and I did it > with the generateList/tagSelect method. In the generateList, I had to > specify key and label with the "{n}" thing before referencing the > m

{n} in generateList : What does that mean ?

2008-01-07 Thread metalseb
Hi there bakers ! I had to generate code for a select tag this afternoon and I did it with the generateList/tagSelect method. In the generateList, I had to specify key and label with the "{n}" thing before referencing the model fields. I do not understand what the "{n}" means. I cannot find any t