Can you explain this a bit more clearly? Do you mean that you want to do a find
that returns a data array ready for populating a select list (id + name
columns)? If so, check out find('list'):
http://book.cakephp.org/view/1022/find-list
Jeremy Burns
Class Outfit
[email protected]
http://www.classoutfit.com
On 4 Sep 2010, at 16:58, butterCake wrote:
> I'm new to cakePHP. What if I want my model to contain only an array
> of list. How to do this ?
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" 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
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" 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