nerdexam
Magento

M70-101 · Question #53

M70-101 Question #53: Real Exam Question with Answer & Explanation

The correct answer is A. $product->getTypeInstance(). See the full explanation below for the reasoning.

Question

Which one of the following calls returns a simple product type model? Assume that$product is aninstance of Mage_Catalog_Model_Product representing a simple product.

Options

  • A$product->getTypeInstance()
  • B$product->getType()
  • CMage::getsingleton(`catalog/producttype')->getType($product)
  • DMage Catalog Model Product Type:: factory(`simple')
  • EMage Catalog Model Product Type: : getType Instance ($product)

Community Discussion

No community discussion yet for this question.

Full M70-101 Practice