public function init() { $this->getBootstrap()->bootstrap('logger'); $this->getBootstrap()->bootstrap('acl'); Fgac_Application_Acl_Engine::setup($this->getOptions()); return Fgac_Application_Acl_Engine::getInstance(); }
public function beforeFetch($tableName, Pro_Db_Select &$select) { $fgac = Fgac_Application_Acl_Engine::getInstance(); $acl = Zend_Registry::get($fgac->getAclAlias()); $fgac->invoke($tableName, $acl->getCurrentHierarchy(), $select); }