CATEGORY: Filters

Yii-Filters

Filter

  • Executes before and/or after a controller action executes.It can also prevent further execution of action
  • E.g. access control filter – to ensure user authentication before executing the requested action.
  • An action can have multiple filters.
  • Order Of Execution : the order they defined in the filter list.
  • A filter can prevent the execution of the action and the rest of the un-executed filters.
There are no more results.