/** * Třída pro hromadné operace s konfigurací * * @param null $ItemID */ public function __construct($table = null, $column = null) { $this->table = $table; $this->column = $column; parent::__construct(); $this->registerClass('IETimeperiod'); $this->registerClass('IECommand'); $this->registerClass('IEService'); $this->registerClass('IEServicegroup'); $this->registerClass('IEContact'); $this->registerClass('IEContactgroup'); $this->registerClass('IEHost'); $this->registerClass('IEHostgroup'); }
/** * Třída pro hromadné operace s konfigurací * * @param null $ItemID */ public function __construct($params = null) { parent::__construct(); $this->registerClass('IETimeperiod'); $this->registerClass('IECommand'); $this->registerClass('IEService'); $this->registerClass('IEServicegroup'); $this->registerClass('IEContact'); $this->registerClass('IEContactgroup'); $this->registerClass('IEHost'); $this->registerClass('IEHostgroup'); if (is_array($params)) { $this->setData($params); } }
/** * Třída skriptu * * @param type $itemID */ public function __construct($itemID = null) { parent::__construct($itemID); unset($this->keywordsInfo['generate']); unset($this->useKeywords['generate']); }