On Mar 10, 10:02 am, persivo_cunha <ricky...@gmail.com> 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?

I think you need a bigger net then..

What you are doing is not going to work easily.  Controllers don't
call each other, because it usually signals poor application design /
code in the wrong place. You can probably use requestAction() to do
what you want, but it will still be hacky.

-Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to