예제 #1
0
 /**
  * @return ACL[]
  */
 function getACLs()
 {
     $ret = array();
     $target = $this->getAclType();
     $module = $this->api->module_acl($target);
     foreach ($module->all(array('port' => $this->id)) as $module) {
         $ret[] = new ACL($module, $this->api, $target);
     }
     return $ret;
 }
예제 #2
0
 /**
  * @return \Splitice\X4B\Modules\AclApiModule
  */
 protected function moduleApi()
 {
     return $this->api->module_acl($this->target);
 }