Zend Framework: What are the differences between init() and preDispatch() functions in controller objects?

后端 未结 0 1854
一整个雨季
一整个雨季 2020-12-23 05:22

I think the order of execution is init(), preDispatch() and then action() is called.

  1. Should I initialize my variables, which are common among all actions, i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题