Example #1
0
 function virtual_acls($t)
 {
     if ($t == 'edit') {
         if (!$this->get_acls()) {
             return;
         }
         return $this->_acls->render();
     }
 }
Example #2
0
 function load_acls()
 {
     $this->_acls = core::module('users')->get_acl_handle();
     if ($this->gid) {
         $this->_acls->load_for_group($this->gid);
         //->get_objects();
     }
     return $this->_acls;
 }