Do you mean generateList()?
if so:
$this->set("contacts", $this->Contact->generateList());
if you want to generated an ordered list:
$this->set("contacts", $this->Contact->generateList(null, "name"));
(will order the list by the name field)
Hope this helps.
On Dec 18, 6:04 pm, Brian <[EMAIL PROTECTED]> wrote:
> Can someone point me to a clear example of tutorial on how to build a
> drop down box from the getList method.
> I searched the post and didn't find anything useful.
> Thanks in advance. Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---