Monday, September 6, 2010

Re: liner array

I'm trying to some experiment. But you are correct. I should use the
database. My next step is trying to overwrite find method.

On Sep 6, 1:48 am, Maurits van der Schee <maur...@vdschee.nl> wrote:
> Hi,
>
> You could write your own Model and override the find() method.
>
> But why would you not use the database?
>
> Regards,
>
> Maurits
>
> On 09/06/2010 07:31 AM, butterCake wrote:
>
> > Sorry for not being clear. What I'm trying to do is making my Model to
> > be an array only. In otherwords I don't want my Model to be pointing
> > to a data table.
>
> > tks
> > Anton
>
> > On Sep 5, 1:30 am, Jeremy Burns | Class Outfit
> > <jeremybu...@classoutfit.com>  wrote:
> >> 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
>
> >> jeremybu...@classoutfit.comhttp://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 sitehttp://cakeqs.organdhelp 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 athttp://groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 athttp://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 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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate