Question 16
Which statement correctly describes order state and order status?
- State and status are independent properties of the order.
- The status is a child of the state.
- State represents the general state of the order, while status works on item level.
- An order doesn't have a status, only a state. Status is a property of an invoice, shipment, and credit memo.
Question 17
What is the difference in the effect of calling the invoice capture () method versus the invoice pay () method?
- No difference: pay () will always call capture ().
- Pay () will trigger the payment and capture!) will not.
- Capture () will trigger the payment and pay () will not.
- The difference is determined by the payment method implementation.
Question 18
Which one of the following statements is true regarding Mage_Core_Block_Text_List?
- Mage_Core_Block_Text_List declares its own template for rendering, but the rendered template can be overridden via layout XML.
- Child blocks of Mage_Core_Block_Text_List are always rendered alphabetically by name.
- Mage_Core_Block_Text_List will always render all children automatically when it is rendered.
- Mage_Core_Block_Text_List directly extends Mage_Core_Block_Template
- In order to render, the parent block of Mage_Core_Block_Text_List must always be an output block.
Question 19
Which of the following API calls allows you to fetch the list of related products using the native Magento API?
- catalog_product_link.list, with arguments $type='related', $product_id
- catalog_product.list, with arguments $type='related', $product_id
- catalog_product_related.list, with argument $product_id
- catalog_product_option.list, with arguments $type='related', $product_id
Question 20
Which of the following actions will enable logging via calls to debugData() on a native Magento payment method model?
- Set the protected property $_debug of the payment model to true
- Set the config node default/payment/debug/ [method code] to 1
- Call Mage::register ('payment_method_debug_' . [method code], true);
- Set the config node default/payment/ [method code]/debug to 1
- Call setDebug(true) on the payment method model