Not a big issue you can simply use requestaction just like in a cpt file
Suppose you have a function in *user controller* named : - *
getUserDetail($user_id)*
and now you want to use this function in post controller
then simply write
*$userDetail=$this->requestaction('/users/getUserDetail/'.$userId);*
On Tuesday, July 17, 2012 11:57:16 AM UTC+5:30, sneha kulkarni wrote:
>
> how i can call one function of one controller into another controller.plz
> help
>
--
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