Doing something like this:
$ctrlObject =& ClassRegistry::init('MyController');
would get you an instance, only probably not a "working one" with the
model and components and things.

/Martin


On Mar 10, 5:09 pm, persivo_cunha <[email protected]> wrote:
> No one of these three ways could solve my problem. I can't put inside
> models.
>
> Inside AppControllers, i have three interfaces. Each subclass must say
> which concrete class that implements interface must be called. But i
> just know which concrete class in runtime. So, three setInterfaces was
> put inside AppControllers. and for each controller,  in runtime, i
> have to indicate the concrete classes. I created an controller called
> SetupController, it will be this work, but i cant acess another
> controllers from it.
>
> I could not note how the answers above can help me, because a need the
> objects.
--~--~---------~--~----~------------~-------~--~----~
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