View Single Post
  #5 (permalink)  
Old 08-15-2007, 02:30 AM
GeniusTse GeniusTse is offline
Junior Member
 
Join Date: Aug 2007
Posts: 10
Default

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.
Reply With Quote