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

Mage::getModel(): It always creates a new object

Mage: :getSingleton(): It always look for an existing object and if not then creates a new object

 

Leave a Reply

Your email address will not be published. Required fields are marked *