Magento
M70-101 · Question #126
M70-101 Question #126: Real Exam Question with Answer & Explanation
The correct answer is A. Mage::getResourceModel ('customer/customer'); B. Mage::getResourceSingleton ('customer/customer'); E. Mage::getModel ('customer/customer') ->getResource ( );. See the full explanation below for the reasoning.
Question
Which three of the following will return an instance of a resource model? (Choose three)
Options
- AMage::getResourceModel ('customer/customer');
- BMage::getResourceSingleton ('customer/customer');
- CMage::getModel ('customer/customer') ->getResourceModel ( );
- DMage::getResourceModel ('customer/customer')->getInstance ( );
- EMage::getModel ('customer/customer') ->getResource ( );
- FMage::getResourceModel ('customer/customer') ->getResource( );
Community Discussion
No community discussion yet for this question.