1 |
<? |
2 |
// --------------------------------------------------------------------------- |
3 |
// $Id: Config.php,v 1.1 2003/02/03 03:51:36 joko Exp $ |
4 |
// --------------------------------------------------------------------------- |
5 |
// $Log: Config.php,v $ |
6 |
// Revision 1.1 2003/02/03 03:51:36 joko |
7 |
// + initial commit |
8 |
// |
9 |
// --------------------------------------------------------------------------- |
10 |
|
11 |
|
12 |
/* |
13 |
|
14 |
------------------------------------------------------------ |
15 |
How to use this? |
16 |
------------------------------------------------------------ |
17 |
|
18 |
require_once("../etc/defaults.php"); |
19 |
require_once("../etc/includes.php"); |
20 |
|
21 |
$appConfig = mkObject('Application::Config'); |
22 |
print "appConfig:<br/>" . Dumper($appConfig) . "<hr/>"; |
23 |
|
24 |
------------------------------------------------------------ |
25 |
|
26 |
*/ |
27 |
|
28 |
class Application_Config { |
29 |
|
30 |
var $_store; |
31 |
|
32 |
function Application_Config($initCfg = null) { |
33 |
//print "Hello World!<hr/>"; |
34 |
//print "initCfg:<br/>" . Dumper($initCfg) . "<hr/>"; |
35 |
$this->_store = $initCfg; |
36 |
} |
37 |
} |
38 |
|
39 |
?> |