Zend Server Question:
How to write a program to retrieve the view object within plugin?

Answer:
- 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;
- 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;
Previous Question | Next Question |
Explain what is the function of action helper in Zend? | Do you know what is the function Lucene? |