Which happens first: init or preDispatch?

yV2Coupons8

New Member
I was reading the answer to the question here and the wording was a bit confusing. I shortened the sentences to focus on my question\[quote\]
  • First preDispatch() is called for instances of Zend_Controller_Plugin_Abstract...
  • init() of the Zend_Controller_Action is called next...
  • The controller's preDispatch() method is called here...
\[/quote\]Does that mean that in the controller itself, \[code\]init\[/code\] code runs first before the \[code\]preDispatch\[/code\] code?There's a preDispatch that runs first but it's not for controller code, just for code that may exist in any outside plugins, correct?
 
Back
Top