Magento® Certified Developer Exam Study Guide
Magento® Certified Developer Exam Study Guide
Magento® Certified Developer Exam Study Guide
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Magento ® <strong>Certified</strong> <strong>Developer</strong> <strong>Exam</strong> <strong>Study</strong> <strong>Guide</strong> page 42<br />
C. <br />
D. <br />
E. <br />
4 - Assuming a setup class of Mage_Sales_Model_Resource_Setup, which of the following will<br />
correctly add an attribute to the sales/order entity?<br />
A. $installer->addAttribute('sales_order_entity', 'foo', array<br />
('type'=> 'int'));<br />
B. $installer->addAttribute('sales/order', 'foo', array('type'<br />
=>'int'));<br />
C. $installer->addAttribute('order', 'foo', array('type' => 'int'));<br />
D. $installer->addAttribute('sales_flat_order', 'foo', array('type'<br />
=>'int'));<br />
© 2013 X.commerce, Inc. version 1.2 January 2013