3
// Author: Sebastian Voecking <sebastian.voecking@uni-muenster.de>
5
ADEI::RequireClass("KDBConfigFile", true);
9
private $fDebug = false;
10
private $fSqlServer = "localhost";
11
private $fSqlDbName = "katrin";
12
private $fSqlUser = "s_voec01";
13
private $fSqlPassword = "";
14
private $fFileServerRoot = "/data";
15
private $fPathOrca = NULL;
16
private $fPathOrcaRoot = NULL;
17
private $fPathCrun = NULL;
18
private $fPathPlots = NULL;
20
function __construct($filename)
22
$file = new KDBConfigFile($filename);
23
$this->fDebug = $file->GetValue("debug", $this->fDebug);
24
$this->fFileServerRoot =
25
$file->GetValue("file_server_root", $this->fFileServerRoot);
26
$this->fSqlServer = $file->GetValue("sql_server", $this->fSqlServer);
27
$this->fSqlDbName = $file->GetValue("sql_dbname", $this->fSqlDbName);
28
$this->fSqlUser = $file->GetValue("sql_user", $this->fSqlUser);
30
$file->GetValue("sql_password", $this->fSqlPassword);
31
$this->fPathOrca = $file->GetValue("path_orca", $this->fPathOrca);
32
$this->fPathOrcaRoot =
33
$file->GetValue("path_orcaroot", $this->fPathOrcaRoot);
34
$this->fPathCrun = $file->GetValue("path_crun", $this->fPathCrun);
35
$this->fPathPlots = $file->GetValue("path_plots", $this->fPathPlots);
43
function GetSqlServer()
45
return $this->fSqlServer;
48
function GetSqlDbName()
50
return $this->fSqlDbName;
55
return $this->fSqlUser;
58
function GetSqlPassword()
60
return $this->fSqlPassword;
63
function GetFileServerRoot()
65
return $this->fFileServerRoot;
68
function GetPathOrca()
70
return $this->fPathOrca;
73
function GetPathOrcaRoot()
75
return $this->fPathOrcaRoot;
78
function GetPathCrun()
80
return $this->fPathCrun;
83
function GetPathPlots()
85
return $this->fPathPlots;
b'\\ No newline at end of file'