示例#1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_schedule");
     $this->load->model("m_change_log");
     date_default_timezone_set('Asia/Manila');
 }
示例#2
0
 public function __construct()
 {
     parent::__construct();
     //$this->load->model("api/m_account");
     //$this->load->model("api/m_change_log");
     //sleep(5);
 }
示例#3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_account");
     $this->load->model("M_account_basic_information");
     $this->APICONTROLLERID = 9;
 }
示例#4
0
文件: User.php 项目: 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');
 }
示例#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);
 }
示例#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();
 }
示例#12
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_report");
     $this->APICONTROLLERID = 5;
 }
示例#13
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('webModel/Power_model', 'power');
 }
示例#14
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Partner_model', 'Partnertag_model'));
 }
示例#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;
 }
示例#17
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('user_model');
     $this->load->model('play_model');
 }
示例#18
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_club");
     $this->load->model("m_change_log");
 }
示例#19
0
 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;
 }
示例#21
0
文件: key.php 项目: sjlu/sns
 function __construct()
 {
     parent::__construct();
     $this->USER = $this->require_session();
     $this->load->model('keys_model');
 }
示例#22
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Mentorstag_model'));
 }
示例#23
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_delivery_truck");
     $this->APICONTROLLERID = 1;
 }
示例#24
0
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('Course_model', 'Relation_model', 'Mentors_model'));
 }
示例#25
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_information");
     $this->APICONTROLLERID = 1;
 }
示例#26
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("m_waste_post_type");
     $this->APICONTROLLERID = 1;
 }
示例#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;
 }
示例#29
0
文件: Login.php 项目: 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;
 }