예제 #1
0
파일: team.php 프로젝트: sss201413/ecstore
 function __construct($app)
 {
     parent::__construct($app);
     $this->app = $app;
     $this->mdl_special_goods = app::get('starbuy')->model('special_goods');
     $this->mdl_product = app::get('b2c')->model('products');
     $this->mdl_goods = app::get('b2c')->model('goods');
     $this->userObject = kernel::single('b2c_user_object');
     $this->special_pro = kernel::single('starbuy_special_products');
 }
예제 #2
0
 function __construct($app)
 {
     parent::__construct($app);
     $this->app = $app;
     $this->mdl_special_goods = app::get('starbuy')->model('special_goods');
     $this->mdl_product = app::get('b2c')->model('products');
     $this->mdl_goods = app::get('b2c')->model('goods');
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->userObject = kernel::single('b2c_user_object');
     $this->special_pro = kernel::single('starbuy_special_products');
 }