当前位置: 首页>>代码示例>>PHP>>正文


PHP NotificationEvent::debugEvent方法代码示例

本文整理汇总了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();
 }
开发者ID:geldarr,项目名称:hack-space,代码行数:8,代码来源:user.class.php

示例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);
 }
开发者ID:btry,项目名称:glpi,代码行数:14,代码来源:reservationitem.class.php

示例3: showDebug

 /**
  * Display debug information for current object
  **/
 function showDebug()
 {
     NotificationEvent::debugEvent($this);
 }
开发者ID:glpi-project,项目名称:glpi,代码行数:7,代码来源:ticket.class.php

示例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);
 }
开发者ID:glpi-project,项目名称:glpi,代码行数:10,代码来源:softwarelicense.class.php

示例5: showDebug

 /**
  * Display debug information for dbslave
  **/
 function showDebug()
 {
     $options['diff'] = 0;
     $options['name'] = '';
     NotificationEvent::debugEvent(new DBConnection(), $options);
 }
开发者ID:UnidadInformaticaSERVIUVI,项目名称:Administrador-de-Inventario,代码行数:9,代码来源:config.class.php

示例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);
 }
开发者ID:gaforeror,项目名称:glpi,代码行数:10,代码来源:infocom.class.php

示例7: showDebug

 /**
  * Display debug information for current object
  **/
 function showDebug()
 {
     $options['entities_id'] = $this->getEntityID();
     $options['contracts'] = array();
     NotificationEvent::debugEvent($this, $options);
 }
开发者ID:gaforeror,项目名称:glpi,代码行数:9,代码来源:contract.class.php

示例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);
 }
开发者ID:JULIO8,项目名称:respaldo_glpi,代码行数:8,代码来源:fieldunicity.class.php

示例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);
 }
开发者ID:geldarr,项目名称:hack-space,代码行数:12,代码来源:consumableitem.class.php

示例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);
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:13,代码来源:cartridgeitem.class.php

示例11: showDebug

 /**
  * Display debug information for current object
  **/
 function showDebug()
 {
     NotificationEvent::debugEvent(new PluginOcsinventoryngNotimportedcomputer(), array('entities_id' => 0, 'notimported' => array()));
 }
开发者ID:geldarr,项目名称:hack-space,代码行数:7,代码来源:config.class.php


注:本文中的NotificationEvent::debugEvent方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。