How to render view file from controller in zend framework?
Answer / 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 |
What is full form of cla in zend framework?
Difference between zend_registry and zend_session?
How to install zend framework?
What is front controller in zend framework?
Grouping where clauses with zend_db_table_abstract ?
Can we move the index.php file outside the public folder?
Named the latest version of zend framework?
How to add extra html (i.e link) in zend_form?
Write a program to retrieve the view object within plugin?
What is zend framework 2?
How to get variable's value from get?
Explain the difference between zend 2 & zend 3?