How to create an object of model in zend framework?
Answer / 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 |
Suppose your Zend engine supports the mode Then how can u configure your PHP Zend engine to support mode?
How to change the view render file from controller?
How to set up 2 navigations in zend framework 2?
What is autoloader in zend framework?
What is use of zend front controller?
How to disable layout from controller in zend framework?
What are the advantages of zend framework 2?
Explain super global variables in zend framework?
What zend acl?
Checking whether form posted or not in zend framework?
How to set 'selected' value in select box dropdown list?
What are the important component of zend framework?