Hi matias.quaglia,
I am a newbie in Zend Framework and I am facing the same problem with Elemental.
Does the init() place in same controller class with the indexAction() in your example. ?
If so, the registry must work, because init() would be called before the action().
thus, we place the registry::set() in the init() then each action() can access that registry value.
Q1) Can I place the registry::set() outside the init() (e.g. set registry in indexAction() and get by testAction() ) ?
Q2) How can I access that registred value in another controller class ?
Is it possible ?
thank you ~
Last edited by GeniusTse : 08-15-2007 at 02:34 AM.
|