Which two approaches allow the functionality from both classes to be used?

Two modules, Foo and Moo, both rewrite the catalog/product model, but only the Moo module’s rewrite is being used. Both modules Foo and Moo reside in the community code pool. Which two approaches allow the functionality from both classes to be used? (Choose two)
A. Copy Foo_Model_Product to the local code pool.
B. Copy Moo_Model_Product to the local code pool and merge the logic from Foo_Model_Product into it.
C. Copy Moo_Model_Product to the local code pool and make it extend Foo_Model_Procluct, making sure the logic of both classes does not conflict.
D. Copy Moo_Model_Product to the local code pool.
E. Change the rewrite directive of the Moo module to rewrite foo/product instead of catalog/product.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.