Solved

The Initial Call to ______________ Will Create and Return an Instance

Question 48

Multiple Choice

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.


A) Mage::getResourceModel ('namespace/modulename') ;
B) Mage::getInstance ('namespace/modulename') ;
C) Mage::getModel ('modulename/modelname') ;
D) Mage::getSingleton ('modulename/modelname') ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents