PrepAway - Latest Free Exam Questions & Answers

Which two approaches allow the functionality from both …

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)

PrepAway - Latest Free Exam Questions & Answers

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_Product, 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.


Leave a Reply

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