1 |
<? |
<? |
2 |
|
/** |
3 |
|
* This file contains the Application::Config class. |
4 |
|
* |
5 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
6 |
|
* @name Application::Config |
7 |
|
* |
8 |
|
*/ |
9 |
|
|
10 |
|
|
11 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
12 |
// $Id$ |
// $Id$ |
13 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
14 |
// $Log$ |
// $Log$ |
15 |
|
// Revision 1.7 2003/03/11 00:12:45 joko |
16 |
|
// + fixed metadata for phpDocumentor |
17 |
|
// |
18 |
|
// Revision 1.6 2003/03/10 23:45:29 joko |
19 |
|
// + fixed metadata for phpDocumentor |
20 |
|
// |
21 |
|
// Revision 1.5 2003/03/03 21:11:01 joko |
22 |
|
// mungled the namespaces |
23 |
|
// |
24 |
// Revision 1.4 2003/02/09 17:03:35 joko |
// Revision 1.4 2003/02/09 17:03:35 joko |
25 |
// + additional get-/setter methods |
// + additional get-/setter methods |
26 |
// |
// |
54 |
*/ |
*/ |
55 |
|
|
56 |
|
|
57 |
|
/** |
58 |
|
* --- Application_Config |
59 |
|
* |
60 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
61 |
|
* @package org.netfrag.glib |
62 |
|
* @subpackage Application |
63 |
|
* @name Application::Config |
64 |
|
* |
65 |
|
*/ |
66 |
class Application_Config { |
class Application_Config { |
67 |
|
|
68 |
var $_store; |
var $_store; |
79 |
foreach ($this->_store[_init][configkeys] as $configKey) { |
foreach ($this->_store[_init][configkeys] as $configKey) { |
80 |
//$this->_store[runtime] = array_merge($this->_store[runtime], $this->_store[$configKey]); |
//$this->_store[runtime] = array_merge($this->_store[runtime], $this->_store[$configKey]); |
81 |
//$this->_store[runtime] = array_merge_recursive($this->_store[runtime], $this->_store[$configKey]); |
//$this->_store[runtime] = array_merge_recursive($this->_store[runtime], $this->_store[$configKey]); |
82 |
$this->_store[runtime] = array_join_merge($this->_store[runtime], $this->_store[$configKey]); |
$this->_store[runtime] = php::array_join_merge($this->_store[runtime], $this->_store[$configKey]); |
83 |
} |
} |
84 |
//print Dumper($this); |
//print Dumper($this); |
85 |
} |
} |