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