Skip to content
New issue

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

Events for Pimcore\Controller\Action\Frontend::init #221

Closed
kanevbg opened this issue Aug 17, 2015 · 0 comments
Closed

Events for Pimcore\Controller\Action\Frontend::init #221

kanevbg opened this issue Aug 17, 2015 · 0 comments
Assignees
Milestone

Comments

@kanevbg
Copy link

kanevbg commented Aug 17, 2015

https://www.pimcore.org/board/viewtopic.php?f=17&t=2308

@brusch lastly added the following comment on the old JIRA tracker:
Hi,
Why you don't put the code into Website\Controller\Action::init();

public function init() {
// your code
parent::init();
// your code
}

isn't this just the same as having events in Pimcore\Controller\Action\Frontend?
Thanks for clarifying!
Please recreate at GitHub if still up-to-date

ANSWER:
Yes the result is exactly the same however the point is to make the plugins/core more extendable and advance the system.

So by having these events we have the opportunity to build in algorithms at these events in the plugins without requiring code skills to fully install the plugin itself.

@brusch brusch modified the milestone: 4.0.0 Aug 17, 2015
@brusch brusch closed this as completed in 5d2d7b2 Dec 15, 2015
@brusch brusch self-assigned this Jan 23, 2016
@brusch brusch added this to the 4.0.0 milestone Jan 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants