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 to write a program that performs the calculations using the sql function?
Tell me what is the function of model in mvc architecture?
Explain what lucene is in the zend framework?
Why does the zend framework project have a cla at all?
How to disable zend layout from controller for ajax call only?
What are plugins in the zend framework?
How do you set module name, controller name, and action name in zend framework?
Tell me what are the basic operations performed by the decorator?
Can we call a model in view?
How to write a program to show the function of action helper?
What do two colons mean in php?
Is zf a component library or a framework?