Inheritance: extends Action
コード例 #1
0
	public function _initialize(){
		parent::_initialize();
		$this->pageSize=8;
		$grouponConfig=S('grouponConfig'.$this->token);
		$grouponDetailConfig=unserialize($grouponConfig['config']);
		$this->tplid=intval($grouponDetailConfig['tplid']);
		$this->assign('pageSize',$this->pageSize);
		$this->assign('wecha_id',$this->_get('wecha_id'));
	}
コード例 #2
0
 public function _initialize()
 {
     parent::_initialize();
     //$this->wecha_id=$
     $this->pageSize = 8;
     $grouponConfig = S('grouponConfig' . $this->token);
     $grouponDetailConfig = unserialize($grouponConfig['config']);
     $this->tplid = 0;
     $this->assign('pageSize', $this->pageSize);
 }
コード例 #3
0
 public function _initialize()
 {
     parent::_initialize();
     $this->pageSize = 8;
     $grouponConfig = S('grouponConfig' . $this->token);
     $grouponDetailConfig = unserialize($grouponConfig['config']);
     $this->tplid = 0;
     $this->assign('pageSize', $this->pageSize);
     if (C('baidu_map')) {
         $this->isamap = 0;
     } else {
         $this->isamap = 1;
         $this->amap = new amap();
     }
 }
コード例 #4
0
 public function __construct($ProductActionType = NULL)
 {
     parent::__construct();
     $this->ProductActionType = $ProductActionType;
 }
コード例 #5
0
 public function __construct()
 {
     parent::__construct();
 }