How to create object of model?
Answer / Rashmi Srivastava
In Zend Framework, you can create an object of a model by using the `new` keyword followed by the model's class name. Here's an example:n1. Assume you have a model named MyModel.php located in Application/Models.n2. To create an object, use: `$model = new Application_Models_MyModel();`
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of bootstrap in zend framework?
Why do we need disable layout & how we can do it?
In which file we can configuration in zend framework?
What is zend controller front in zend framework?
How to include js from controller and view in zend?
Write a program to retrieve the view object within plugin?
What are the methods used in decorator?
How to disable zend layout from controller for ajax call only?
Which class extend the zend controller?
How to add custom view helpers to zend framework 2
Explain what is being presented by the decorators?
What do you know about zend layout?