function Subscription($Key = '<null>', $LanguageID = 1, $DBName = 'subscriptions', $DBPath = DB_PATH, $DBUserID = DB_USER, $DBPWord = DB_PWORD)
 {
     DisplayObject_MySQLDB::DisplayObject_MySQLDB($DBName, $DBPath, $DBUserID, $DBPWord);
     $this->Key = $Key;
     $this->LanguageID = $LanguageID;
     $this->Data = '';
     $this->InitDB();
     $this->LoadData();
 }
Exemplo n.º 2
0
 function NavBar($ViewerID, $LanguageID, $PathToRoot = '../')
 {
     DisplayObject_MySQLDB::DisplayObject_MySQLDB(DB_NAME_NAVBAR, DB_PATH, DB_USER, DB_PWORD);
     $this->ViewerID = $ViewerID;
     $this->LanguageID = $LanguageID;
     $this->PathToRoot = $PathToRoot;
     $this->NavBarData = array("MainMenu" => "", "SubMenus" => "");
     $this->InitDB();
     $this->InitBar();
 }
Exemplo n.º 3
0
 function LookupList($sql, $list, $table_par = 'width="100%" border="0"', $cell_par = 'class="smallText"', $color_on = ' bgcolor="#CCCCCC" ', $color_off = '')
 {
     //echo "I am at the Lookuplist";
     // Initialize the Parent Constructor
     DisplayObject_MySQLDB::DisplayObject_MySQLDB('hrdb', DB_PATH, DB_USER, DB_PWORD);
     // Receive the conditions of the data we want displayed
     // Define where to retrieve the data
     $this->SQL = $sql;
     $this->fieldList = $list;
     $this->table_parameters = $table_par;
     $this->cell_parameters = $cell_par;
     $this->row_color_on = $color_on;
     $this->row_color_off = $color_off;
 }
Exemplo n.º 4
0
 function CMS($PageID = '', $LanguageID = 1, $DBName = 'cms', $DBPath = DB_PATH, $DBUserID = DB_USER, $DBPWord = DB_PWORD)
 {
     DisplayObject_MySQLDB::DisplayObject_MySQLDB($DBName, $DBPath, $DBUserID, $DBPWord);
     //  Call the Parent Constructor.
     $this->ID = $PageID;
     $this->LanguageID = $LanguageID;
     $this->Layout = '';
     $this->Tags = array();
     $this->TagTypes = array();
     $this->TagIDs = array();
     $this->TagData = array();
     $this->InitDB();
     $this->LoadData();
     $this->CompileTagData();
 }
Exemplo n.º 5
0
 function EazySummaryReport($LanguageID, $Scope)
 {
     DisplayObject_MySQLDB::DisplayObject_MySQLDB($this->DatabaseName, DB_PATH, DB_USER, DB_PWORD);
     $this->InitDB();
     set_time_limit($this->SessionTimeout);
     $this->Title = $this->Labels->Label('[' . $this->ClassTitle . ']');
     $this->LanguageID = $LanguageID;
     $this->HeaderKeys = explode($this->Delimiter, $this->HeaderKeysList);
     $this->lookUpDB = new Database_MySQL();
     $this->lookUpDB->ConnectToDB($this->DatabaseName, DB_PATH, DB_USER, DB_PWORD);
     $this->isExcelSheet = false;
     // Default Behavior = HTML reports ...
     // If we haven't already set the seperateMajorGroups value then ... (make sure we don't overwrite a report setting)
     if (isset($this->seperateMajorGroups) == false) {
         $this->seperateMajorGroups = false;
         // Default Behavior is to not seperate Main Groups
     }
 }