Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_schedule");
     $this->load->model("m_change_log");
     date_default_timezone_set('Asia/Manila');
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     //$this->load->model("api/m_account");
     //$this->load->model("api/m_change_log");
     //sleep(5);
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_account");
     $this->load->model("M_account_basic_information");
     $this->APICONTROLLERID = 9;
 }
Example #4
0
File: User.php Project: slh93/CEEO
 public function __construct($request, $uid, $tid = null)
 {
     $this->uid = $uid;
     $this->tid = $tid;
     /* Construct API_Controller */
     parent::__construct($request);
 }
 function Menus()
 {
     parent::__construct();
     $this->load->helper('date_helper');
     $this->load->model('menu');
     $this->load->model('model_result');
 }
 function __construct()
 {
     parent::__construct();
     $this->load->helper('date_helper');
     $this->load->model('utility/api_response');
     $this->load->model('menu');
 }
Example #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);
 }
Example #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");
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_assessment_type");
     $this->load->model("m_change_log");
 }
 function Feedback()
 {
     parent::__construct();
 }
Example #12
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_report");
     $this->APICONTROLLERID = 5;
 }
Example #13
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('webModel/Power_model', 'power');
 }
Example #14
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Partner_model', 'Partnertag_model'));
 }
Example #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;
 }
Example #17
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('user_model');
     $this->load->model('play_model');
 }
Example #18
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_club");
     $this->load->model("m_change_log");
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_general_ledger");
     $this->load->model("m_change_log");
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_sample_template");
     $this->APICONTROLLERID = 1;
 }
Example #21
0
File: key.php Project: sjlu/sns
 function __construct()
 {
     parent::__construct();
     $this->USER = $this->require_session();
     $this->load->model('keys_model');
 }
Example #22
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Mentorstag_model'));
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_delivery_truck");
     $this->APICONTROLLERID = 1;
 }
Example #24
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Course_model', 'Relation_model', 'Mentors_model'));
 }
Example #25
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_information");
     $this->APICONTROLLERID = 1;
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_waste_post_type");
     $this->APICONTROLLERID = 1;
 }
Example #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;
 }
Example #29
0
File: Login.php Project: 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;
 }