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)- A84% (26)
- B3% (1)
- C10% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.