⟩ How to write a program to retrieve the view object within plugin?
- Zend uses the framework that allows easy retrieving of the object within the arbitrary code.
- It uses the action helper and other class methods to view the object within the plugin.
- The method ViewRenderer() is used by default in the zend framework to view and render the components.
$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer';
$view = $viewRenderer->view;