/** * @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; }
/** * @return \Splitice\X4B\Modules\AclApiModule */ protected function moduleApi() { return $this->api->module_acl($this->target); }