nerdexam
Magento

M70-201 · Question #94

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()
  • BtoHtmlO
  • CsetLayout ()
  • DrenderLayout ()

How the community answered

(31 responses)
  • A
    84% (26)
  • B
    3% (1)
  • C
    10% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full M70-201 Practice