what is the difference between Mage::getModel() and Mage::getSingletone() in Magento?
Answer Posted / Varun Kumar
Mage::getModel() creates a new instance of the model every time it's called, while Mage::getSingleton() returns the same singleton instance for the given model class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers