Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Extend the preAction() and postAction() controller methods. #95

trq opened this Issue · 0 comments

1 participant


Currently the preAction() and postAction() methods of a controller are executed either side of the controllers action method. This approach does not allow a great deal of flexibility and should likely be replaced by a mechanism allowing these methods to be user defined.

This mechanism could also itself be extended to allow these filters to be further refined based on the HTTP method. Something like:


$this->filter('pre', 'action');

// or
$this->filter('pre', 'action', 'get');
@trq trq closed this issue from a commit
@trq trq Rework controller dispatch.
> Moved the responsibility of dispatching an action into the Standard
controller base.

> Removed the preAction and postAction methods in favour of events.

Closes #95
Closes #96
@trq trq closed this in 0a48dac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.