We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue is a continuation of this #703
For now events priority looks like this:
With ACL check now it's perfect: beforeExecuteRoute performs ACL check, so controller will not be initialized if user not authenticated.
In some cases we need to perform some operations after controller was initialized but before executing action.
My current case is parse CLI options to set controller params.
Of course I can call like this
public function initialize() { // register all I need // ... $eventsManager->fire("dispatch:afterInitialize", $this, $extraData); }
but core implementation would be more usable
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered:
@Agent-J could you please check if this works for you?
Sorry, something went wrong.
@andresgutierrez Implemented in #984. Also present in 2.0
cphalcon/phalcon/dispatcher.zep
Line 496 in 3070344
No branches or pull requests
This issue is a continuation of this #703
For now events priority looks like this:
With ACL check now it's perfect: beforeExecuteRoute performs ACL check, so controller will not be initialized if user not authenticated.
In some cases we need to perform some operations after controller was initialized but before executing action.
My current case is parse CLI options to set controller params.
Of course I can call like this
but core implementation would be more usable
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: