How to render view file from controller in zend framework?
Answer Posted / Avinash Kumar Munda
To render a view file from a controller in the Zend Framework, you can use the render() method:
```php
class MyController extends Zend_Controller_Action
{
public function myAction()
{
$this->render('my-view.phtml');
}
}
```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers