/** * * @param type $resource * @param type $ACL * @return type */ public function testACL($resource, $ACL = null) { // $user = $this->getSessionUser(); // return Framework::testAcl($user['role'], $resource, is_null($ACL) ? $this->ACL : $ACL); }
/** * * @param type $path * @param type $acl * @return type */ public function testAcl($path, $acl = null) { // $user = $this->getSessionUser(); // return Liberty\Framework::testAcl($user['role'], $path, is_null($acl) ? $this->_acl : $acl); }