예제 #1
0
 /**
  * Called before the controller action.  You can use this method to configure and customize components
  * or perform logic that needs to happen before each controller action.
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
 }
예제 #2
0
 /**
  * Called before the controller action.  You can use this method to configure and customize components
  * or perform logic that needs to happen before each controller action.
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->User->userAuth = $this->UserAuth;
 }
 /**
  * Called before the controller action.  You can use this method to configure and customize components
  * or perform logic that needs to happen before each controller action.
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->User->query("SET SQL_BIG_SELECTS =1");
 }