Add code

Thursday 28 January 2016

How to find the difference between Mage::getModel() and Mage::getSingletone() in Magento

To know about Mage::getSingletone():

It is used for Always finds for an existing object if not then create that a new object.


To know about Mage::getModel():

It is used for Always creates a new object.


No comments:

Post a Comment

Magento : 404 error is showing admin page

Hello, Sometimes we may get the error on admin page once done with the Magento installation. In that scenario, we have to do the following: ...