當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。