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)- A82% (51)
- B5% (3)
- C10% (6)
- D3% (2)
Community Discussion
No community discussion yet for this question.