示例#1
0
 public function beforeAction($handlerAdapter)
 {
     parent::beforeAction($handlerAdapter);
     if (empty($this->schoolExtra) == false && $this->schoolExtra['openorder'] == 0) {
         $this->forwardRedirect(WindUrlHelper::createUrl('app/4tschool/shopdetails/whenOpen'));
     }
 }
示例#2
0
 public function beforeAction($handlerAdapter)
 {
     parent::beforeAction($handlerAdapter);
     if (empty($this->schoolExtra) == false && $this->schoolExtra['openliuyanban'] == 0) {
         $this->forwardRedirect(WindUrlHelper::createUrl('app/4tschool/notopen/run'));
     }
 }
示例#3
0
 public function beforeAction($handlerAdapter)
 {
     parent::beforeAction($handlerAdapter);
 }
 public function beforeAction($handlerAdapter)
 {
     parent::beforeAction($handlerAdapter);
     //no need to valiation if users are login or not
 }