Mika, check the documentation:

http://manual.cakephp.org/chapter/6

scroll down to where it states:

Retrieving Your Data
Below are a few of the standard ways of getting to your data using a model:
findAll ($conditions, $fields, $order, $limit, $page, $recursive)

As you can see, one of the very first things the primary documentation
about the model states is that you use findAll() in your model as one
of several different methods to fetch data.

Compare that to the blog tutorial that has you leave the models mostly
empty and implement findAll() in the controller.

Chris

On 5/8/06, Mika <[EMAIL PROTECTED]> wrote:
>
> The fact is that it is _used_ in the controller. The controller is
> getting data back from the model which is the way MVC works. The other
> important thing to note is that findAll is _defined_ in the model.
>
>
> >
>


--
this is a signature

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to