nerdexam
Magento

M70-201 · Question #26

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

(17 responses)
  • A
    18% (3)
  • B
    71% (12)
  • C
    6% (1)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full M70-201 Practice