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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to