Sunday, September 5, 2010

Re: liner array

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

jeremyburns@classoutfit.com
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: