/** * Display debug information for current object **/ function showDebug() { NotificationEvent::debugEvent($this); $this->showLdapDebug(); }
/** * Display debug information for reservation of current object **/ function showDebugResa() { $resa = new Reservation(); $resa->fields['id'] = '1'; $resa->fields['reservationitems_id'] = $this->getField('id'); $resa->fields['begin'] = $_SESSION['glpi_currenttime']; $resa->fields['end'] = $_SESSION['glpi_currenttime']; $resa->fields['users_id'] = Session::getLoginUserID(); $resa->fields['comment'] = ''; NotificationEvent::debugEvent($resa); }
/** * Display debug information for current object **/ function showDebug() { NotificationEvent::debugEvent($this); }
/** * Display debug information for current object **/ function showDebug() { $license = array('softname' => '', 'name' => '', 'serial' => '', 'expire' => ''); $options['entities_id'] = $this->getEntityID(); $options['licenses'] = array($license); NotificationEvent::debugEvent($this, $options); }
/** * Display debug information for dbslave **/ function showDebug() { $options['diff'] = 0; $options['name'] = ''; NotificationEvent::debugEvent(new DBConnection(), $options); }
/** * Display debug information for infocom of current object **/ function showDebug() { $item = array('item_name' => '', 'warrantyexpiration' => '', 'itemtype' => $this->fields['itemtype'], 'items_id' => $this->fields['items_id']); $options['entities_id'] = $this->getEntityID(); $options['items'] = array($item); NotificationEvent::debugEvent($this, $options); }
/** * Display debug information for current object **/ function showDebug() { $options['entities_id'] = $this->getEntityID(); $options['contracts'] = array(); NotificationEvent::debugEvent($this, $options); }
/** * Display debug information for current object **/ function showDebug() { $params = array('message' => '', 'action_type' => true, 'action_user' => getUserName(Session::getLoginUserID()), 'entities_id' => $_SESSION['glpiactive_entity'], 'itemtype' => get_class($this), 'date' => $_SESSION['glpi_currenttime'], 'refuse' => true); NotificationEvent::debugEvent($this, $params); }
/** * Display debug information for current object **/ function showDebug() { // see query_alert in cronConsumable() $item = array('consID' => $this->fields['id'], 'entity' => $this->fields['entities_id'], 'ref' => $this->fields['ref'], 'name' => $this->fields['name'], 'threshold' => $this->fields['alarm_threshold']); $options = array(); $options['entities_id'] = $this->getEntityID(); $options['items'] = array($item); NotificationEvent::debugEvent($this, $options); }
/** * Display debug information for current object * **/ function showDebug() { // see query_alert in cronCartridge() $item = array('cartID' => $this->fields['id'], 'entity' => $this->fields['entities_id'], 'cartref' => $this->fields['ref'], 'cartname' => $this->fields['name'], 'threshold' => $this->fields['alarm_threshold']); $options = array(); $options['entities_id'] = $this->getEntityID(); $options['cartridges'] = array($item); NotificationEvent::debugEvent(new Cartridge(), $options); }
/** * Display debug information for current object **/ function showDebug() { NotificationEvent::debugEvent(new PluginOcsinventoryngNotimportedcomputer(), array('entities_id' => 0, 'notimported' => array())); }