function crCustomView2_rpt()
 {
     global $conn, $ReportLanguage;
     // Language object
     $ReportLanguage = new crLanguage();
     // Table object (CustomView2)
     $GLOBALS["CustomView2"] = new crCustomView2();
     // Initialize URLs
     $this->ExportPrintUrl = $this->PageUrl() . "export=print";
     $this->ExportExcelUrl = $this->PageUrl() . "export=excel";
     $this->ExportWordUrl = $this->PageUrl() . "export=word";
     // Page ID
     if (!defined("EWRPT_PAGE_ID")) {
         define("EWRPT_PAGE_ID", 'rpt', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EWRPT_TABLE_NAME")) {
         define("EWRPT_TABLE_NAME", 'CustomView2', TRUE);
     }
     // Start timer
     $GLOBALS["gsTimer"] = new crTimer();
     // Open connection
     $conn = ewrpt_Connect();
 }
Example #2
0
 function crrptindex()
 {
     global $conn, $ReportLanguage;
     // Language object
     $ReportLanguage = new crLanguage();
     // Page ID
     if (!defined("EWRPT_PAGE_ID")) {
         define("EWRPT_PAGE_ID", 'rptindex', TRUE);
     }
     // Start timer
     $GLOBALS["gsTimer"] = new crTimer();
     // Open connection
     $conn = ewrpt_Connect();
 }