nerdexam
Magento

M70-101 · Question #29

Which of the following block methods is the best to override when there is a need to customize how the block's html is rendered?

The correct answer is A. _toHtml ( ). See the full explanation below for the reasoning.

Question

Which of the following block methods is the best to override when there is a need to customize how the block's html is rendered?

Options

  • A_toHtml ( )
  • BtoHtml ( )
  • CsetLayout ( )
  • DrenderLayout ( )

How the community answered

(62 responses)
  • A
    82% (51)
  • B
    5% (3)
  • C
    10% (6)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full M70-101 Practice