Example #1
0
 /**
  * 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');
 }
 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);
 }
Example #3
0
 /**
  * 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.');
     }
 }
Example #4
0
 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'));
     }
 }
Example #5
0
 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);
 }
 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);
 }
 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"));
 }
 public function __construct($consumerKey, $privateKey, $environment)
 {
     parent::__construct($consumerKey, $privateKey);
     $this->environment = $environment;
 }
Example #9
0
 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"));
 }
Example #10
0
 public function __construct($options)
 {
     parent::__construct($options);
     $this->connect();
 }
Example #11
0
 function __construct($res, $type = "MySQL")
 {
     parent::__construct($res, $type);
 }
Example #12
0
 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);
 }
 public function __construct($oAuthConfig)
 {
     parent::__construct();
     $this->config = $oAuthConfig;
     $this->client = new OAuth2\Client($oAuthConfig["clientId"], $oAuthConfig["clientSecret"], $oAuthConfig["authType"]);
 }
Example #14
0
 /**
  * Client constructor.
  *
  * @param array|null $options
  */
 public function __construct(array $options = null)
 {
     parent::__construct($options);
 }
 function __construct($initer = array())
 {
     parent::__construct($initer);
 }
Example #16
0
 public function __construct($res, $type = false, $item_type = false, $data_type = false, $render_type = false)
 {
     if (!$item_type) {
         $item_type = "CommonDataItem";
     }
     if (!$data_type) {
         $data_type = "CommonDataProcessor";
     }
     $this->sections = array();
     if (!$render_type) {
         $render_type = "RenderStrategy";
     }
     parent::__construct($res, $type, $item_type, $data_type, $render_type);
 }
 public function __construct($consumerKey, $privateKey, $originUrl)
 {
     parent::__construct($consumerKey, $privateKey);
     $this->originUrl = $originUrl;
 }
Example #18
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
 }
Example #19
0
 /**
  * 执行DDL
  *
  * @param $sql
  */
 private function executeDDL($sql)
 {
     parent::__construct($this->moudle, $this->conn);
     $this->query($sql);
 }