Thanks that worked.

On Sep 6, 3:37 am, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> You could tell the Model that it doesn't relate to a table:
>
> var $useTable = false;
>
> Or, you could place the code in app_model.php, which would mean it is 
> available to any model function. Depending on your requirements, this might 
> be more efficient, else you'll need to load your model whenever you need to 
> access your list function.
>
> Jeremy Burns
> Class Outfit
>
> [email protected]http://www.classoutfit.com
>
> On 6 Sep 2010, at 09:48, Maurits van der Schee 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
> >> <[email protected]>  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
>
> >>> [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 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 [email protected]
> >>>> To unsubscribe from this group, send email to
> >>>> [email protected] 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 [email protected]
> >> To unsubscribe from this group, send email to
> >> [email protected] 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected] 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 [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

Reply via email to