You should put common functions in app controller or in component. Calling
a controller function in other controller is not good practice. However you
can import target controller in controller.

App::import("Controller", "Target");
$target = new TargetController;
$target->anyFunction();




On Tue, Aug 14, 2012 at 4:24 PM, sooryender <[email protected]> wrote:

>
>
> 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
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>
>



-- 
Thanks & Regards

Chetan Varshney
Director of Ekta Softwares
Noida India
Website- EktaSoftwares.Com <http://www.ektasoftwares.com>
Email- [email protected]
Skype- chetan-varshney
Mob no- +919891538749

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to