Can we call a model in view?
Answer / Akshay Srivastava
In Zend Framework, models and views are separate components. You cannot directly call a model inside a view.nHowever, you can pass data from the controller to the view that is retrieved from the model. This data can then be used in your view templates.
| Is This Answer Correct ? | 0 Yes | 0 No |
How we can do multiple column ordering in zend framework?
Checking whether form posted or not in zend framework?
Where's the model?
I want to use a sql function or perform calculations in a statement I'm generating with zend_db_select. How can I do this?
How do I extend the zend navigation menu view helper?
How to include css and js from the controller in the zend framework?
How to get all get data?
Explain what is being presented by the decorators?
How do you set module name, controller name, and action name in zend framework?
How to install zend framework?
Do you know what is zend engine?
Does zend framework support php 7?