Esempio n. 1
0
File: list.php Progetto: noikiy/snk
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->app = $app;
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->set_tmpl('list');
 }
Esempio n. 2
0
 public function __construct($app)
 {
     parent::__construct($app);
     $this->goods_stage = vmc::singleton('b2c_goods_stage');
     if ($this->app->member_id = vmc::singleton('b2c_user_object')->get_member_id()) {
         $this->goods_stage->set_member($this->app->member_id);
     }
 }
Esempio n. 3
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     vmc::singleton('base_session')->start();
     $this->user_obj = vmc::singleton('b2c_user_object');
     $this->passport_obj = vmc::singleton('b2c_user_passport');
 }
Esempio n. 4
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->verify_member();
     //$this->app->member_id  已赋值
     $this->cart_stage = vmc::singleton('b2c_cart_stage');
     $this->cart_stage->set_member_id($this->app->member_id);
     $this->logger = vmc::singleton('b2c_order_log');
 }
Esempio n. 5
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->verify_member();
     $this->action = $this->_request->get_act_name();
     $this->member = $this->get_current_member();
     $this->set_tmpl('member');
     //刷新经验值和会员等级
     //vmc::singleton('b2c_member_exp')->renew($this->member['member_id']);
 }
Esempio n. 6
0
File: cart.php Progetto: noikiy/snk
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     vmc::singleton('base_session')->start();
     $this->blank_url = $this->gen_url(array('app' => 'b2c', 'ctl' => 'mobile_cart', 'act' => 'blank'));
     $this->cart_stage = vmc::singleton('b2c_cart_stage');
     if ($this->app->member_id = vmc::singleton('b2c_user_object')->get_member_id()) {
         $this->pagedata['member_id'] = $this->app->member_id;
         $this->cart_stage->set_member_id($this->app->member_id);
     }
 }
Esempio n. 7
0
 public function __construct($app)
 {
     parent::__construct($app);
 }