I am not understanding what you asking.
postDispatch() and preDispatch() are Zend_Controller lifecycle hooks.
They can be found either at the plugin layer, or the action helper layer.
The only direct coupling you can find for these concepts, and Zend_View,
would be inside Zend_Layout- which uses Zend_View to create a layout
system, and registers a plugin to inject itself into the Zend_Controller
lifecycle (to implement a loose implementation of the two-step-view
pattern).
We'd need more information to be able to further diagnose what you are
experiencing.
-ralph
andythinker wrote:
No matter what I extend zend_view or implement Zend_View_Interface,the
postdispatch or predispatch will be executed twice. Why????
Any response is welcome.
Thank you in advance.