beforeAction() public method
This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.
| public boolean beforeAction ( $action ) | ||
|---|---|---|
| $action | yii\base\Action |
The action to be executed. |
| return | boolean |
Whether the action should continue to be executed. |
Please login to continue.