예제 #1
0
파일: Linker.php 프로젝트: ohjack/csc385
 /**
  * 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);
 }
예제 #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.');
     }
 }
예제 #4
0
파일: Parser.php 프로젝트: ohjack/csc385
 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'));
     }
 }
예제 #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;
 }
예제 #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"));
 }
예제 #10
0
파일: Node.php 프로젝트: roni5/sevice_cms
 public function __construct($options)
 {
     parent::__construct($options);
     $this->connect();
 }
예제 #11
0
 function __construct($res, $type = "MySQL")
 {
     parent::__construct($res, $type);
 }
예제 #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);
 }
예제 #13
0
 public function __construct($oAuthConfig)
 {
     parent::__construct();
     $this->config = $oAuthConfig;
     $this->client = new OAuth2\Client($oAuthConfig["clientId"], $oAuthConfig["clientSecret"], $oAuthConfig["authType"]);
 }
예제 #14
0
 /**
  * Client constructor.
  *
  * @param array|null $options
  */
 public function __construct(array $options = null)
 {
     parent::__construct($options);
 }
 function __construct($initer = array())
 {
     parent::__construct($initer);
 }
예제 #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;
 }
예제 #18
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
 }
예제 #19
0
파일: Schema.php 프로젝트: hejxing/jt
 /**
  * 执行DDL
  *
  * @param $sql
  */
 private function executeDDL($sql)
 {
     parent::__construct($this->moudle, $this->conn);
     $this->query($sql);
 }