Пример #1
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->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');
 }