An action filter will participate in the action execution workflow by responding to
the beforeAction and afterAction events triggered by modules and controllers.
Check implementation of AccessControl, PageCache and HttpCache as examples on how to use it.
For more details and usage information on ActionFilter, see the guide article on filters.