Your supposed to clutter up the "Models" controller (hence the name) says
get me this go find me that with simple calls $this->Model->getRecent(); You
know that get Recent will......hmmm get recent yeah that's it and the model
does all the work getting the recent whatevers. 

 

From: OldWest [mailto:[email protected]] 
Sent: Friday, January 21, 2011 2:42 PM
To: [email protected]
Subject: Re: Model function for Controller :: how do I call it in the
Controller?

 

Yes I know! But why clutter up the Controller with these kind of queries?? 

-- 
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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