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 > model fields. I do not understand what the "{n}" means. I cannot find > any tip in the API doc. Anybody could teach me a bit ? >
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/ -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---