當前位置: 首頁>>代碼示例>>PHP>>正文


PHP owa_coreAPI::errorSingleton方法代碼示例

本文整理匯總了PHP中owa_coreAPI::errorSingleton方法的典型用法代碼示例。如果您正苦於以下問題:PHP owa_coreAPI::errorSingleton方法的具體用法?PHP owa_coreAPI::errorSingleton怎麽用?PHP owa_coreAPI::errorSingleton使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在owa_coreAPI的用法示例。


在下文中一共展示了owa_coreAPI::errorSingleton方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Base Constructor
  *
  * @return owa_base
  */
 function __construct()
 {
     owa_coreAPI::profile($this, __FUNCTION__, __LINE__);
     $this->e =& owa_coreAPI::errorSingleton();
     $this->c =& owa_coreAPI::configSingleton();
     $this->config = $this->c->fetch('base');
 }
開發者ID:nishantmendiratta,項目名稱:Open-Web-Analytics,代碼行數:12,代碼來源:owa_base.php

示例2: __construct

 function __construct()
 {
     $c = owa_coreAPI::configSingleton();
     $this->config = $c->fetch('base');
     $this->e = owa_coreAPI::errorSingleton();
     $this->crawler = new owa_http();
     $this->crawler->read_timeout = 20;
     $this->cache_dir = '';
     $this->date_format = "F j, Y";
     $this->CDATA = 'content';
     $this->items_limit = 3;
 }
開發者ID:ashutoshdev,項目名稱:Open-Web-Analytics,代碼行數:12,代碼來源:owa_news.php

示例3: __construct

 function __construct()
 {
     $c =& owa_coreAPI::configSingleton();
     $this->config = $c->fetch('base');
     $this->e =& owa_coreAPI::errorSingleton();
     $this->crawler = new Snoopy();
     // do not allow snoopy to follow links
     $this->crawler->maxredirs = 5;
     $this->crawler->agent = owa_coreAPI::getSetting('base', 'owa_user_agent');
     //$this->crawler->agent = "Firefox";
     //owa_coreAPI::debug('hello from owa_http constructor');
     return;
 }
開發者ID:nishantmendiratta,項目名稱:Open-Web-Analytics,代碼行數:13,代碼來源:owa_httpRequest.php

示例4: __construct

 function __construct($module = null, $caller_params = array())
 {
     $this->caller_params = $caller_params;
     $c = owa_coreAPI::configSingleton();
     $this->config = $c->fetch('base');
     $this->e = owa_coreAPI::errorSingleton();
     // set template dirs
     if (!empty($caller_params['module'])) {
         $this->_setTemplateDir($module);
     } else {
         $this->_setTemplateDir('base');
     }
     $this->time_now = owa_lib::time_now();
 }
開發者ID:arineng,項目名稱:Open-Web-Analytics,代碼行數:14,代碼來源:owa_template.php

示例5: notice

 public static function notice($msg)
 {
     $e = owa_coreAPI::errorSingleton();
     $e->notice($msg);
     return;
 }
開發者ID:ashutoshdev,項目名稱:Open-Web-Analytics,代碼行數:6,代碼來源:owa_coreAPI.php

示例6: checkEventForType

 function checkEventForType($event)
 {
     $type = $event->getEventType();
     if ($type === 'unknown_event_type') {
         $e = owa_coreAPI::errorSingleton();
         $e->mailErrorMsg(print_r($event->getProperties(), true), 'Unknown Event Type');
     }
     return $event;
 }
開發者ID:ashutoshdev,項目名稱:Open-Web-Analytics,代碼行數:9,代碼來源:module.php

示例7: __construct

 /**
  * Constructor
  * 
  * Takes cache directory as param
  *
  * @param $cache_dir string
  */
 function __construct($cache_dir = '')
 {
     $this->e = owa_coreAPI::errorSingleton();
 }
開發者ID:ashutoshdev,項目名稱:Open-Web-Analytics,代碼行數:11,代碼來源:cache.php


注:本文中的owa_coreAPI::errorSingleton方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。