public function renderView($viewName)
    {
        $viewObj = Openbizx::getObject($viewName);
        if($viewObj)
        {
            $viewObj->setConsoleOutput(false);
            $sHTML = $viewObj->render();
            //$sHTML = "Test";
            //require_once("dompdf/dompdf_config.inc.php");
            $domPdf = new DOMPDF();
            $domPdf->load_html($sHTML);
            //$dompdf->set_paper($_POST["paper"], $_POST["orientation"]);
            $domPdf->render();
            $this->output($domPdf);
            //$dompdf->stream("dompdf_out.pdf");
        }
    }
public function renderView($viewName)
    {
        $viewObj = Openbizx::getObject($viewName);
        if($viewObj)
        {
            $viewObj->setConsoleOutput(false);
            $sHTML = $viewObj->render();
            //$sHTML = "Test";
            //require_once("dompdf/dompdf_config.inc.php");
            $domPdf = new DOMPDF();
            $domPdf->load_html($sHTML);
            //$dompdf->set_paper($_POST["paper"], $_POST["orientation"]);
            $domPdf->render();
            $this->output($domPdf);
            //$dompdf->stream("dompdf_out.pdf");
        }
    }
public function renderView ( $ viewName ) { $ viewObj = Openbizx :: getObject ( $ viewName ) ; if ( $ viewObj ) { $ viewObj -> setConsoleOutput ( false ) ; $ sHTML = $ viewObj -> render ( ) ; //$sHTML = "Test"; //require_once("dompdf/dompdf_config.inc.php"); $ domPdf = new DOMPDF ( ) ; $ domPdf -> load_html ( $ sHTML ) ; //$dompdf->set_paper($_POST["paper"], $_POST["orientation"]); $ domPdf -> render ( ) ; $ this -> output ( $ domPdf ) ; //$dompdf->stream("dompdf_out.pdf"); } }
Render the pdf output

@global BizSystem $g_BizSystem
@param string $viewName name of view object
@return void
Render the pdf output