Unimaginative standard answers: :)

You can try to see if the task you need performed by the other
controller could be put into a model. Most of the real work should be
done by models.

You can also try to make a Component out of that code you need to
call.

The last resort or a quick and dirty way "forward" is to use the
dreaded requestAction() (or manually instantiating the controller
using ClassRegistry if you don't need it to act as a normal
controller).





On Mar 10, 3:02 pm, persivo_cunha <[email protected]> wrote:
> Hi,
>
> I have one controller called SetupController and, inside it, i need to
> call one function that is in another controller. but i can' t catch
> other controllers inside SetupController to do this call.
>
> I tried use Configure::listObjects, but it just returns the
> controller's name, and not the objects.
>
> Is there any way to do what i want to?
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to