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

The findAll method is not implemented in the controller, if you look at the code it clearly shows that you are calling the model;

$this ->Posts->findAll();

$this is the controller.
Posts is the model
findAll is  a method in the core model which is a parent class to Posts.
 


--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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