nerdexam
Magento

M70-101 · Question #117

Given a grid interface that extends from Mage_Adminhtml_Block_widget_Grid, which of the following methods could you override to allow data to be loaded from a custom data collection?

The correct answer is B. _prepareCollection. See the full explanation below for the reasoning.

Question

Given a grid interface that extends from Mage_Adminhtml_Block_widget_Grid, which of the following methods could you override to allow data to be loaded from a custom data collection?

Options

  • A_prepareDataModel
  • B_prepareCollection
  • C_initDataModel
  • D_initGrid

How the community answered

(41 responses)
  • A
    10% (4)
  • B
    80% (33)
  • C
    7% (3)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full M70-101 Practice