本文整理汇总了PHP中NotificationEvent::debugEvent方法的典型用法代码示例。如果您正苦于以下问题:PHP NotificationEvent::debugEvent方法的具体用法?PHP NotificationEvent::debugEvent怎么用?PHP NotificationEvent::debugEvent使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NotificationEvent
的用法示例。
在下文中一共展示了NotificationEvent::debugEvent方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showDebug
/**
* Display debug information for current object
**/
function showDebug()
{
NotificationEvent::debugEvent($this);
$this->showLdapDebug();
}
示例2: showDebugResa
/**
* 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);
}
示例3: showDebug
/**
* Display debug information for current object
**/
function showDebug()
{
NotificationEvent::debugEvent($this);
}
示例4: showDebug
/**
* 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);
}
示例5: showDebug
/**
* Display debug information for dbslave
**/
function showDebug()
{
$options['diff'] = 0;
$options['name'] = '';
NotificationEvent::debugEvent(new DBConnection(), $options);
}
示例6: showDebug
/**
* 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);
}
示例7: showDebug
/**
* Display debug information for current object
**/
function showDebug()
{
$options['entities_id'] = $this->getEntityID();
$options['contracts'] = array();
NotificationEvent::debugEvent($this, $options);
}
示例8: showDebug
/**
* 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);
}
示例9: showDebug
/**
* 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);
}
示例10: showDebug
/**
* 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);
}
示例11: showDebug
/**
* Display debug information for current object
**/
function showDebug()
{
NotificationEvent::debugEvent(new PluginOcsinventoryngNotimportedcomputer(), array('entities_id' => 0, 'notimported' => array()));
}