void clear(
string
$namespace
)
|
|
Clear a namespace's settings
Parameters:
API Tags:
Get singleton instance
API Tags:
void load(
array
$source, [string
$namespace = 'default']
)
|
|
Load configuration into object
Expects one required argument, $source. $source may be:
If $source is a string, load() expects it to end with '.adapter', the name of an adapter class from which to load a configuration array. $source is then passed to that adapter's load() method.
Parameters:
|
array |
$source: |
|
|
string |
$namespace: |
Defaults to 'default' |
API Tags:
Information Tags:
| Throws: | Phly_Config_Exception |
Return all configuration options as an array
API Tags:
boolean _isAssocArray(
mixed
$value
)
|
|
Test if a value is an associative array
Parameters:
API Tags:
mixed __get(
string
$key
)
|
|
Overloading: retrieve property values
Parameters:
API Tags:
void __set(
string
$key, mixed
$value
)
|
|
Overloading: set property values
Parameters:
|
string |
$key: |
|
|
mixed |
$value: |
|
API Tags: