当前位置: 首页>>代码示例>>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;未经允许,请勿转载。