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 do two colons mean in php?
How to set up 2 navigations in zend framework 2?
Features of mvc in zend framework?
What is the function of action helper in zend?
Explain the working with form elements in array notation?
Which class extend the zend model? Zend_db_table_abstract
Write a program to show the execution of the application?
What zend acl?
How do you set module name, controller name, and action name in zend framework?
What is the latest version of zend framework?
What are plugins in the zend framework?
Where is the model in zf's mvc implementation?