Yes.  See http://framework.zend.com/wiki/x/clc

Cheers,
Gavin

depace wrote:
ok guys i have one question...
please let me know if its possible or not...  (in ZF 0.9 beta)

I want to initialize object in one controller and want to use it in another ... is it possible??/

AbcController:
$obj_abc = new AbcClass();
$obj_abc->doSomething();
Zend_Registry::set('obj',$obj_abc);
(Works if i move this to boostrap file and if i call from some controller)

XyzController:
$obj_abc = Zend_Registry::get('obj');

Reply via email to