Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     $acl = Zend_Registry::get('acl');
     if (!$acl->has($this)) {
         $acl->add(new Zend_Acl_Resource($this->getResourceId()));
     }
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     $acl = Zend_Registry::get('acl');
     if (!$acl->has($this)) {
         $acl->add($this);
     }
 }