I think what you want for select options is this : ----------------------- generateList(string $conditions, string $order, int $limit, string $keyPath, string $valuePath)
This function is a shortcut to getting a list of key value pairs - especially handy for creating an HTML select tag from a list of your models. Use the $conditions, $order, and $limit parameters just as you would for a findAll() request. ----------------------- More info on http://tempdocs.cakephp.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
