Magento
M70-101 · Question #92
You want to display a grid for a custom collection. After extending Mage_Adminhtml_Block_widget_Grid, which two of these methods should you implement? (Choose two)
The correct answer is B. _prepareCollection ( ) C. _prepareColumns ( ). See the full explanation below for the reasoning.
Question
You want to display a grid for a custom collection. After extending Mage_Adminhtml_Block_widget_Grid, which two of these methods should you implement? (Choose two)
Options
- A_getCollection ( )
- B_prepareCollection ( )
- C_prepareColumns ( )
- DtoHtml ( )
- Erender ( )
How the community answered
(24 responses)- A4% (1)
- B75% (18)
- D8% (2)
- E13% (3)
Community Discussion
No community discussion yet for this question.