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 |
Explain the filters in zend framework with examples?
What are the methods used in decorator?
What new in zend framework 2.0?
Where's the model?
What is full form of cla in zend framework?
What is zend framework in php?
How to display zend_form_element_radio on one line ?
Grouping where clauses with zend_db_table_abstract ?
Tell me what are the basic operations performed by the decorator?
How to make pdo run set names utf8 each time I connect, in zendframework?
What is the function lucene?
Do you know what is the function lucene?