I have a module which needs multiple Controllers. Every Controller though starts with an authentification check provided by a GET Parameter. So instead of writing in every controller at the beginning the same code I am thinking of a better way. What is best practice here?
I thought of using a Helper, which works for sharing code but in the Helper I would need to call $this->_request->getParams(); which I don't know if this is possible.
Any hints or tips?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.