original_string: protected function _output($html)
      {
          $html = "<div id='ZFDebug_offset'></div>\n<div id='ZFDebug'>\n$html\n</div>\n</body>";
          $response = $this->getResponse();
          // $response->setBody(preg_replace('/(<\/head>)/i', $this->_headerOutput() . '$1', $response->getBody()));
          $response->setBody(str_ireplace('</body>', $this->_headerOutput() . $html, $response->getBody()));
      }
code: protected function _output($html)
      {
          $html = "<div id='ZFDebug_offset'></div>\n<div id='ZFDebug'>\n$html\n</div>\n</body>";
          $response = $this->getResponse();
          // $response->setBody(preg_replace('/(<\/head>)/i', $this->_headerOutput() . '$1', $response->getBody()));
          $response->setBody(str_ireplace('</body>', $this->_headerOutput() . $html, $response->getBody()));
      }
code_tokens: protected function _output ( $ html ) { $ html = "<div id='ZFDebug_offset'></div>\n<div id='ZFDebug'>\n$html\n</div>\n</body>" ; $ response = $ this -> getResponse ( ) ; // $response->setBody(preg_replace('/(<\/head>)/i', $this->_headerOutput() . '$1', $response->getBody())); $ response -> setBody ( str_ireplace ( '</body>' , $ this -> _headerOutput ( ) . $ html , $ response -> getBody ( ) ) ) ; }
docstring: Appends Debug Bar html output to the original page
  
  @param string $html
  @return void
docstring_tokens: Appends Debug Bar html output to the original page