Magento Question:

Download Job Interview Questions and Answers PDF

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

Magento Interview Question
Magento Interview Question

Answer:

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

Download Magento Interview Questions And Answers PDF

Previous QuestionNext Question
What is Module conflict?Explain the difference between Final class and Abstract class?