/** * 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(); }
/** * 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"); }