public function flush()
{
$str = $this->_str;
$this->_str = '';
return $str;
}
/** * Returns the text content wrapped within a HTML comment with boundary * identifier as its comment content. * @return string text content chunck. */ public function flush() { $content = parent::flush(); if (empty($content)) { return ""; } return '<!--' . $this->getBoundary() . '-->' . $content . '<!--//' . $this->getBoundary() . '-->'; }