getting data from ClassRegistry

2007-04-17 Thread Copongcopong
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

Re: getting data from ClassRegistry

2007-04-17 Thread nate
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

RE: getting data from ClassRegistry

2007-04-17 Thread Mariano Iglesias
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

Re: getting data from ClassRegistry

2007-04-17 Thread Copongcopong
. 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