Checkout/Block/Messages.php
final protected function _toHtml() {
		$sess = df_checkout_session(); /** @var Session|DfSession $m */
		$m = $sess->getDfMessages(); /** @var array(array(string => bool|Phrase)) $m */
		$sess->unsDfMessages();
		return !$m ? '' : df_js(__CLASS__, 'messages', ['messages' => $m]);
	}
final protected function _toHtml() {
		$sess = df_checkout_session(); /** @var Session|DfSession $m */
		$m = $sess->getDfMessages(); /** @var array(array(string => bool|Phrase)) $m */
		$sess->unsDfMessages();
		return !$m ? '' : df_js(__CLASS__, 'messages', ['messages' => $m]);
	}
final protected function _toHtml ( ) { $ sess = df_checkout_session ( ) ; /** @var Session|DfSession $m */ $ m = $ sess -> getDfMessages ( ) ; /** @var array(array(string => bool|Phrase)) $m */ $ sess -> unsDfMessages ( ) ; return ! $ m ? '' : df_js ( __CLASS__ , 'messages' , [ 'messages' => $ m ] ) ; }
2016-07-14
@override
@see _P::_toHtml()
@used-by _P::toHtml():
$html = $this->_loadCache();
if ($html === false) {
if ($this->hasData('translate_inline')) {
$this->inlineTranslation->suspend($this->getData('translate_inline'));
}
$this->_beforeToHtml();
$html = $this->_toHtml();
$this->_saveCache($html);
if ($this->hasData('translate_inline')) {
$this->inlineTranslation->resume();
}
}
$html = $this->_afterToHtml($html);
https://github.com/magento/magento2/blob/2.2.0/lib/internal/Magento/Framework/View/Element/AbstractBlock.php#L643-L689
@return string
2016 - 07 - 14