Any consequence(s) of getting viewVars from ClassRegistry? I am trying
to get some data in viewVars to be initialize for my helper.
Any better way (or best practice) to accomplish this? The main goal is
to have my viewVars, that were loaded using
AppController::beforeRender(), be accessible by
If on Cake 1.2:
$view = ClassRegistry::getObject(view);
$vars = $view-getVars();
On Apr 17, 7:47 am, Copongcopong [EMAIL PROTECTED] wrote:
Any consequence(s) of getting viewVars from ClassRegistry? I am trying
to get some data in viewVars to be initialize for my helper.
Any better way (or
nombre
de nate
Enviado el: Martes, 17 de Abril de 2007 12:37 p.m.
Para: Cake PHP
Asunto: Re: getting data from ClassRegistry
If on Cake 1.2:
$view = ClassRegistry::getObject(view);
$vars = $view-getVars();
--~--~-~--~~~---~--~~
You received this message because you
.
Para: Cake PHP
Asunto: Re: getting data from ClassRegistry
If on Cake 1.2:
$view = ClassRegistry::getObject(view);
$vars = $view-getVars();
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post