Пример #1
0
 /**
  * Load a html view into an html template document
  * Sends the html document to a new window
  * Opens the print dialog
  * @param string $html_view_src_path The path for the html body document
  * @param boolean $IsBootstrapDocument If true load bootstrap css into the html document
  */
 public static function HtmlDocumentPrint($html_view_src_path, $IsBootstrapDocument = false)
 {
     RequestManager::HtmlPrintResponseHeader();
     if ($IsBootstrapDocument) {
         require_once "framework/views/client/documents/htmlbootstrapdocument.php";
     } else {
         require_once "framework/views/client/documents/htmldocument.php";
     }
 }