Is it possible to use extends in an array? I need to merge X config files to
one config.
I currently convert them to an array to merge them, but then the extends will
be lost.
- this two config files -
zend-config
foo
bar5/bar
/foo
/zend-config
zend-config
The built in merge method of Zend_Config is just what you're looking for:
$config = new Zend_Config...;
$config2 = new Zend_Config.;
$config-merge($config2);
// In this case, $config2 will be merged into $config.
On 30/01/2009 2:49 AM, Jan Pieper wrote:
Is it possible to use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Argh, thanks :-)
- -- Jan
The built in merge method of Zend_Config is just what you're looking for:
$config = new Zend_Config...;
$config2 = new Zend_Config.;
$config-merge($config2);
// In this case, $config2 will be merged into