Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_schedule");
     $this->load->model("m_change_log");
     date_default_timezone_set('Asia/Manila');
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     //$this->load->model("api/m_account");
     //$this->load->model("api/m_change_log");
     //sleep(5);
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_account");
     $this->load->model("M_account_basic_information");
     $this->APICONTROLLERID = 9;
 }
Esempio n. 4
0
File: User.php Progetto: slh93/CEEO
 public function __construct($request, $uid, $tid = null)
 {
     $this->uid = $uid;
     $this->tid = $tid;
     /* Construct API_Controller */
     parent::__construct($request);
 }
Esempio n. 5
0
 function Menus()
 {
     parent::__construct();
     $this->load->helper('date_helper');
     $this->load->model('menu');
     $this->load->model('model_result');
 }
Esempio n. 6
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('date_helper');
     $this->load->model('utility/api_response');
     $this->load->model('menu');
 }
Esempio n. 7
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper("user_info");
     $this->load->model("m_account");
     $this->load->model("m_change_log");
     //sleep(5);
 }
Esempio n. 8
0
 public function __construct()
 {
     parent::__construct();
     $this->session_id = time() . uniqid();
     $this->power_id = $this->input->post('power_id', TRUE);
     $this->signature = $this->input->post('signature', TRUE);
     log_message('debug', sprintf("%s---power_id:%s,signature:%s", $this->session_id, $this->power_id, $this->signature));
     //检查签名
     $check = $this->check_power_key();
     if ($check === FALSE) {
         log_message('ERROR', sprintf("%s--signature_is_error", $this->session_id));
         $this->to_api_message(902, 'signature_is_error', null, false);
     }
     //加载授权类
     $this->load->model('accessModel/Setting', 'setting');
     $setting = $this->setting->get();
     if (empty($setting) || empty($setting['app_id']) || empty($setting['app_key'])) {
         log_message('ERROR', sprintf("%s--app_info empty", $this->session_id));
         $this->to_api_message(903, 'activate_your_app', null, false);
     }
     $app_info = array();
     $app_info = array('app_id' => $setting['app_id'], 'app_key' => $setting['app_key'], 'use_private' => $setting['service_type'] == 2 ? TRUE : FALSE);
     $this->load->library('Secken', $app_info);
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_access_control_list");
     $this->load->model("m_change_log");
 }
Esempio n. 10
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_assessment_type");
     $this->load->model("m_change_log");
 }
 function Feedback()
 {
     parent::__construct();
 }
Esempio n. 12
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_report");
     $this->APICONTROLLERID = 5;
 }
Esempio n. 13
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('webModel/Power_model', 'power');
 }
Esempio n. 14
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Partner_model', 'Partnertag_model'));
 }
Esempio n. 15
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('user_model', 'users');
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_product_hierarchy");
     $this->APICONTROLLERID = 1;
 }
Esempio n. 17
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('user_model');
     $this->load->model('play_model');
 }
Esempio n. 18
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_club");
     $this->load->model("m_change_log");
 }
Esempio n. 19
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_general_ledger");
     $this->load->model("m_change_log");
 }
Esempio n. 20
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_sample_template");
     $this->APICONTROLLERID = 1;
 }
Esempio n. 21
0
File: key.php Progetto: sjlu/sns
 function __construct()
 {
     parent::__construct();
     $this->USER = $this->require_session();
     $this->load->model('keys_model');
 }
Esempio n. 22
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Mentorstag_model'));
 }
Esempio n. 23
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_delivery_truck");
     $this->APICONTROLLERID = 1;
 }
Esempio n. 24
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Course_model', 'Relation_model', 'Mentors_model'));
 }
Esempio n. 25
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_information");
     $this->APICONTROLLERID = 1;
 }
Esempio n. 26
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_waste_post_type");
     $this->APICONTROLLERID = 1;
 }
Esempio n. 27
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('webModel/Company_model', 'company');
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_measurement_unit");
     $this->APICONTROLLERID = 1;
 }
Esempio n. 29
0
File: Login.php Progetto: slh93/CEEO
 public function __construct($request, $origin)
 {
     $this->config = Factory::fromFile('config/config.php', true);
     /* Construct API_Controller */
     parent::__construct($request);
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_account_contact_information");
     $this->APICONTROLLERID = 2;
 }