PrepAway - Latest Free Exam Questions & Answers

Which one of the following calls returns a simple produ…

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

PrepAway - Latest Free Exam Questions & Answers

A.
$product->getTypeInstance()

B.
$product->getType()

C.
Mage::getsingleton(‘catalog/producttype’)->getType($product)

D.
Mage Catalog Model Product Type:: factory(‘simple’)

E.
Mage Catalog Model Product Type: : getType Instance ($product)


Leave a Reply

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