public beforeAction ( |
||
$action | the action to be executed. | |
리턴 | boolean | whether the action should continue to be executed. |
public function beforeAction($action)
{
return true;
}
public function beforeAction($action) { if ($this->getIsAjax()) { $this->ajaxMode = true; } return parent::beforeAction($action); }