PrepAway - Latest Free Exam Questions & Answers

Subsequent calls to this method during the same executi…

The initial call to ______________ will create and return an instance of the specified class.
Subsequent calls to this method during the same execution cycle will return the same class instance as
opposed to creating a new one.

PrepAway - Latest Free Exam Questions & Answers

A.
Mage::getResourceModel (‘namespace/modulename’);

B.
Mage::getInstance (‘namespace/modulename’);

C.
Mage::getModel (‘modulename/modelname’);

D.
Mage::getSingleton (‘modulename/modelname’);


Leave a Reply

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