コード例 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('purchase_statistics_model');
     $this->load->helper('db_helper');
     $this->template->add_js('static/js/sorttable.js');
 }
コード例 #2
0
ファイル: recommend.php プロジェクト: ohjack/mallerp_standard
 public function __construct()
 {
     parent::__construct();
     $this->load->model('quality_testing_model');
     $this->load->model('order_model');
     $this->load->library('form_validation');
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('ebay_model');
     $this->load->model('order_model');
     $this->load->model('product_model');
     $this->load->model('sale_order_model');
 }
コード例 #4
0
ファイル: taobao.php プロジェクト: ohjack/mallerp_standard
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('taobao');
     $this->load->model('taobao_model');
     $this->load->model('order_model');
     $this->load->library('form_validation');
 }
コード例 #5
0
ファイル: netname.php プロジェクト: ohjack/mallerp_standard
 public function __construct()
 {
     parent::__construct();
     $this->load->model('sale_model');
     $this->load->model('sale_order_model');
     $this->load->model('product_model');
     $this->load->model('shipping_code_model');
     $this->load->model('stock_model');
     $this->load->library('form_validation');
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct();
     if (!session_id()) {
         session_start();
     }
     $this->load->model('ebay_model');
     $this->load->model('order_model');
     $this->load->model('product_model');
     $this->load->model('sale_order_model');
     $this->load->config('config_ebay');
 }
コード例 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('solr');
     $this->load->model('solr/catalog_statistic_model');
     $this->load->model('user_model');
     $this->load->model('rate_model');
     $this->load->model('order_model');
     $rates = $this->order_model->fetch_currency();
     foreach ($rates as $rate) {
         $this->cur_rates[$rate->name_en] = $rate->ex_rate;
     }
 }
コード例 #8
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('form_validation');
     $this->load->helper('purchase_order_helper');
     $this->load->model('product_model');
     $this->load->model('purchase_order_model');
     $this->load->model('shipping_code_model');
     $this->load->model('order_role_model');
     $this->load->model('order_model');
     $this->load->model('sale_order_model');
     $this->load->model('user_model');
     $this->config->load('config_ebay');
 }
コード例 #9
0
ファイル: taobaoapi.php プロジェクト: ohjack/mallerp_standard
 public function __construct()
 {
     parent::__construct();
     require_once APPPATH . 'libraries/taobao/TopSdk.php';
     $product_mode = FALSE;
     // TRUE or FALSE to toggle for product mode or sandbox mode.
     $this->config->load('config_taobao', TRUE);
     if ($product_mode) {
         $config = $this->config->item('product', 'config_taobao');
     } else {
         $config = $this->config->item('sandbox', 'config_taobao');
     }
     var_dump($config);
     $this->top_client = new TopClient($product_mode);
     $this->top_client->appkey = $config['app_key'];
     $this->top_client->secretKey = $config['app_secret'];
 }
コード例 #10
0
ファイル: price.php プロジェクト: ohjack/mallerp_standard
 public function __construct()
 {
     parent::__construct();
     $this->load->model('sale_model');
     $this->load->model('product_model');
     $this->load->model('product_packing_model');
     $this->load->model('order_model');
     $this->load->library('form_validation');
     $this->load->helper('validation');
     $this->load->model('fee_price_model');
     $this->load->model('shipping_company_model');
     $this->load->model('shipping_function_model');
     $this->load->model('shipping_subarea_model');
     $this->load->model('shipping_subarea_group_model');
     $this->load->model('shipping_type_model');
     $this->load->model('shipping_code_model');
     $this->load->helper('shipping_helper');
     $this->load->helper('db_helper');
 }
コード例 #11
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('waiting_for_perfect_model');
 }
コード例 #12
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('mytaobao_list_model');
     $this->load->model('product_model');
 }
コード例 #13
0
 function __construct()
 {
     parent::__construct();
 }
コード例 #14
0
ファイル: setting.php プロジェクト: ohjack/mallerp_standard
 public function __construct()
 {
     parent::__construct();
     $this->load->model('fee_price_model');
     $this->load->model('rate_model');
 }