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

0

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

Mage::getSingletone(): It first checks the existence of object and if object doesn?t exist, then it creates a new one.

asked Apr 15, 2023 at 01:23
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.