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
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
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 you
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