コード例 #1
0
ファイル: list.php プロジェクト: noikiy/snk
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->app = $app;
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->set_tmpl('list');
 }
コード例 #2
0
ファイル: product.php プロジェクト: noikiy/snk
 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);
     }
 }
コード例 #3
0
ファイル: passport.php プロジェクト: yindonghai/msk.com
 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');
 }
コード例 #4
0
ファイル: order.php プロジェクト: yindonghai/msk.com
 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');
 }
コード例 #5
0
ファイル: member.php プロジェクト: noikiy/snk
 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']);
 }
コード例 #6
0
ファイル: cart.php プロジェクト: 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);
     }
 }
コード例 #7
0
ファイル: brand.php プロジェクト: yindonghai/msk.com
 public function __construct($app)
 {
     parent::__construct($app);
 }