/** * 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); }
/** * 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.'); } }
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')); } }
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; }
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")); }
public function __construct($options) { parent::__construct($options); $this->connect(); }
function __construct($res, $type = "MySQL") { parent::__construct($res, $type); }
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"]); }
/** * Client constructor. * * @param array|null $options */ public function __construct(array $options = null) { parent::__construct($options); }
function __construct($initer = array()) { parent::__construct($initer); }
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; }
/** * Constructor */ public function __construct() { parent::__construct(); }
/** * 执行DDL * * @param $sql */ private function executeDDL($sql) { parent::__construct($this->moudle, $this->conn); $this->query($sql); }