Answer Posted / Pritee Pathak
To create an object of a model in Zend Framework, you first need to define the model in a corresponding PHP file. After that, you can use the new keyword along with the name of the class (which is usually the same as the filename) to create an instance of the model. For example: $model = new Application_Model_YourModelName();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers