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 |
Do you know what is zend engine?
Which class extend the zend controller? Zend_controller_action
Is there a way to make fpdf/fpdi or zend_pdf support the parsing of pdfs greater than 1.4?
Does zend support php 4? Explain
What is event manager in zend framework?
What new in zend framework 3.0?
Do you know what is the function lucene?
Explain super global variables in zend framework?
How to get all post data in zend framework?
What lucene is in the zend framework?
Explain the use of bootstrap used in zend framework?
How to include js from controller and view in zend framework?