示例#1
0
 /**
  * 
  * @cmdForm /centreon-administration/aclresource/update optional
  * @cmdObject string aclresource the acl resource
  * @cmdParam boolean|true all-hosts optional all host 
  * @cmdParam boolean|true all-bas optional all bas 
  * @cmdParam boolean|false no-hosts optional no host 
  * @cmdParam boolean|false no-bas optional no bas 
  */
 public function updateAction($object, $params)
 {
     $events = Di::getDefault()->get('events');
     $aclTagsEvent = new aclTagsEvent($params);
     $events->emit('centreon-administration.acl.tag', array($aclTagsEvent));
     $params = $aclTagsEvent->getParams();
     parent::updateAction($object, $params);
 }
示例#2
0
 /**
  * @cmdForm /centreon-configuration/trap/update optional
  * @cmdObject string traps the traps
  */
 public function updateAction($object, $params = null)
 {
     parent::updateAction($object, $params);
 }