Hi
Use App::objects('Controller'); instead of Configure::listObjects()
(deprecated now)
On Monday, August 24, 2009 6:12:03 PM UTC+5:30, Pixelastic wrote:
>
> Hello,
>
> I have some code I would like to put in my bootstrap.php that needs
> the Configure::listObjects() function. Unfortunately
On Mon, Aug 24, 2009 at 2:44 PM, Pixelastic wrote:
>
> I don't think that would work. ::constructClasses() can't be called
> statically, it does use the $uses variable to instanciate the models.
Why do you need to call it statically?
> And additionnaly, AppController isn't even loaded in bootstr
I don't think that would work. ::constructClasses() can't be called
statically, it does use the $uses variable to instanciate the models.
And additionnaly, AppController isn't even loaded in bootstrap.
If that's of any help, I'm trying to grab the plugin list by calling
Configure::listObjects('pl
AppController::constructClasses()?
On Mon, Aug 24, 2009 at 8:42 AM, Pixelastic wrote:
>
> Hello,
>
> I have some code I would like to put in my bootstrap.php that needs
> the Configure::listObjects() function. Unfortunately, this function
> does not return anything when called from inside the boo
Hello,
I have some code I would like to put in my bootstrap.php that needs
the Configure::listObjects() function. Unfortunately, this function
does not return anything when called from inside the bootstrap.php,
likely because bootstrap is called very very early.
I finally had to put my code in t