writeHTML() public method

HTML is formatted as HTML 4.01, without strict XML unary tags. This is for legacy HTML content. Modern XHTML should be written using {@link toXHTML()}. Write the document to stdout (usually the client) or to a file.
See also: html()
See also: innerHTML()
public writeHTML ( string $path = null )
$path string The path to the file into which the XML should be written. if this is NULL, data will be written to STDOUT, which is usually sent to the remote browser.
 private function renderPage()
 {
     $this->qp = qp($this->getHttpResponse()->getOutput());
     $this->renderTitle();
     $this->renderCss();
     $this->renderJavascript();
     ob_start();
     $this->qp->writeHTML();
     $output = ob_get_clean();
     $this->getHttpResponse()->setOutput($output);
 }