Wednesday, March 21, 2012

Re: How can I use Model in Component? Is it possibly?

Try this one

here click is model 

$this->loadModel('Click');

On Friday, March 16, 2012 1:13:19 PM UTC+5:30, Dave Modis wrote:
Actually I need to read and write some data in database by using component. If it impossibly, can I use Controller in Component like Controller use Component (returning result of method)? 

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate