Magento Question:

Explain the difference between Mage::getSingletone() andMage::getModel() in Magento?

Tweet Share WhatsApp

Answer:

Mage::getSingletone() always finds for an existing object if not then create that a newobject but Mage::getModel() always creates a new object.

Download Magento PDF Read All 38 Magento Questions
Previous QuestionNext Question
What are the categories of modules hosted?What are the benefits of namespace (package) in magento?