Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In the description of the method of getChildHtml it is said "Retrieve child block HTML"
In the description of the getChildBlock method, it says "Retrieve child block by name".
But what is the difference?
As name suggest getChildHtml() render the HTML of block if it find the block and getChildBlock() will return only Block object it it find any block.
Required, but never shown