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


PHP Connector::__construct方法代碼示例

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


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

示例1: __construct

 /**
  * Constructor
  * Loads required models
  */
 public function __construct()
 {
     parent::__construct();
     // Load linking models
     $this->ci->load->model('tag_type_m');
     $this->ci->load->model('item_has_tag_m');
 }
開發者ID:ohjack,項目名稱:csc385,代碼行數:11,代碼來源:Linker.php

示例2: __construct

 public function __construct($res, $type = false, $item_type = false, $data_type = false)
 {
     if (!$item_type) {
         $item_type = "OptionsDataItem";
     }
     parent::__construct($res, $type, $item_type, $data_type);
 }
開發者ID:ValentinNikolaev,項目名稱:Laravel5-dhtmlxScheduler-demo,代碼行數:7,代碼來源:options_connector.php

示例3: __construct

 /**
  * ProwlConnector.class provides access to the
  * webservice interface of Prowl by using
  * cUrl + SSL. Use the setters of this class
  * to provide the mandatory parameters.
  *
  * @throws \RuntimeException
  */
 public function __construct()
 {
     parent::__construct();
     $curl_info = curl_version();
     // Checks for cURL function and SSL version. Thanks Adrian Rollett!
     if (empty($curl_info['ssl_version'])) {
         throw new \RuntimeException('Your cUrl Extension does not support SSL.');
     }
 }
開發者ID:Ernie69,項目名稱:spotweb,代碼行數:17,代碼來源:SecureConnector.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     $this->ci->load->model('tag_type_m');
     // Load in tag types
     if (empty($this->_tag_types)) {
         $this->_tag_types = $this->ci->tag_type_m->get(array('array_key' => 'name'));
     }
 }
開發者ID:ohjack,項目名稱:csc385,代碼行數:9,代碼來源:Parser.php

示例5: __construct

 public function __construct($res, $type = false, $item_type = false, $data_type = false)
 {
     if (!$item_type) {
         $item_type = "FormDataItem";
     }
     if (!$data_type) {
         $data_type = "FormDataProcessor";
     }
     parent::__construct($res, $type, $item_type, $data_type);
 }
開發者ID:neohusky,項目名稱:demo,代碼行數:10,代碼來源:form_connector.php

示例6: __construct

 public function __construct($res, $type = false, $item_type = false, $data_type = false, $render_type = false)
 {
     if (!$item_type) {
         $item_type = "SchedulerDataItem";
     }
     if (!$data_type) {
         $data_type = "SchedulerDataProcessor";
     }
     if (!$render_type) {
         $render_type = "RenderStrategy";
     }
     parent::__construct($res, $type, $item_type, $data_type, $render_type);
 }
開發者ID:ValentinNikolaev,項目名稱:Laravel5-dhtmlxScheduler-demo,代碼行數:13,代碼來源:scheduler_connector.php

示例7: __construct

 public function __construct($res, $type = false, $item_type = false, $data_type = false, $render_type = false)
 {
     if (!$item_type) {
         $item_type = "GanttDataItem";
     }
     if (!$data_type) {
         $data_type = "GanttDataProcessor";
     }
     if (!$render_type) {
         $render_type = "RenderStrategy";
     }
     parent::__construct($res, $type, $item_type, $data_type, $render_type);
     $this->event->attach("afterDelete", array($this, "delete_related_links"));
     $this->event->attach("afterOrder", array($this, "order_set_parent"));
 }
開發者ID:ValentinNikolaev,項目名稱:Laravel5-dhtmlxScheduler-demo,代碼行數:15,代碼來源:gantt_connector.php

示例8: __construct

 public function __construct($consumerKey, $privateKey, $environment)
 {
     parent::__construct($consumerKey, $privateKey);
     $this->environment = $environment;
 }
開發者ID:vicenteguerra,項目名稱:Flashbuy,代碼行數:5,代碼來源:MerchantLocationService.php

示例9: __construct

 public function __construct($res, $type = false, $item_type = false, $data_type = false)
 {
     if (!$item_type) {
         $item_type = "TreeDataItem";
     }
     if (!$data_type) {
         $data_type = "TreeDataProcessor";
     }
     parent::__construct($res, $type, $item_type, $data_type);
     $this->event->attach("afterInsert", array($this, "parent_id_correction_a"));
     $this->event->attach("beforeProcessing", array($this, "parent_id_correction_b"));
 }
開發者ID:BaisicaSAS,項目名稱:BaisicaERP,代碼行數:12,代碼來源:tree_connector.php

示例10: __construct

 public function __construct($options)
 {
     parent::__construct($options);
     $this->connect();
 }
開發者ID:roni5,項目名稱:sevice_cms,代碼行數:5,代碼來源:Node.php

示例11:

 function __construct($res, $type = "MySQL")
 {
     parent::__construct($res, $type);
 }
開發者ID:abbeet,項目名稱:server39,代碼行數:4,代碼來源:grid_connector.php

示例12: __construct

 public function __construct($res, $type = false, $item_type = false, $data_type = false)
 {
     if (!$item_type) {
         $item_type = "DataItem";
     }
     if (!$data_type) {
         $data_type = "";
     }
     //has not sense, options not editable
     parent::__construct($res, $type, $item_type, $data_type);
 }
開發者ID:sugarnet,項目名稱:feanor-sg1,代碼行數:11,代碼來源:base_connector.php

示例13: __construct

 public function __construct($oAuthConfig)
 {
     parent::__construct();
     $this->config = $oAuthConfig;
     $this->client = new OAuth2\Client($oAuthConfig["clientId"], $oAuthConfig["clientSecret"], $oAuthConfig["authType"]);
 }
開發者ID:bitoncoin,項目名稱:mastercoin-faucet,代碼行數:6,代碼來源:OAuthConnector.php

示例14: __construct

 /**
  * Client constructor.
  *
  * @param array|null $options
  */
 public function __construct(array $options = null)
 {
     parent::__construct($options);
 }
開發者ID:reilag,項目名稱:kuna-api-php,代碼行數:9,代碼來源:Client.php

示例15: array

 function __construct($initer = array())
 {
     parent::__construct($initer);
 }
開發者ID:RoDKoDRoK,項目名稱:RoDKoDRoK-packages,代碼行數:4,代碼來源:connector.conf.php


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