| Config_Container::setType | Config_Container::toString |
| Config | |
| PEAR Manual | |
require_once 'Config/Container.php';
|
array Config_Container::toArray (
( void
)
This method returns an array representation of the Config tree. The format is
|
array - an array representation of the Config_Container tree
This function can not be called statically.
Using toArray()()
|
Resulting array with attributes and directives with same name or not
array(1) {
["main"]=>
array(3) {
["@"]=>
array(2) {
["id"]=>
string(2) "db"
["language"]=>
string(2) "en"
}
["authentication"]=>
array(2) {
[0]=>
array(2) {
["#"]=>
string(3) "one"
["@"]=>
array(1) {
["type"]=>
string(5) "mysql"
}
}
[1]=>
array(2) {
["#"]=>
string(3) "two"
["@"]=>
array(1) {
["type"]=>
string(6) "oracle"
}
}
}
["permission"]=>
string(5) "group"
}
}
|
| Config_Container::setType | Config_Container::toString |
| Config | |
| PEAR Manual | |