__clone()
__construct()
__get()
__isset()
__set()
__unset()
areAllSectionsLoaded()
count()
current()
get()
getExtends()
getSectionName()
key()
merge()
next()
readOnly()
rewind()
setExtend()
setReadOnly()
toArray()
valid()
_arrayMergeRecursive()
_assertValidExtend()
_loadFileErrorHandler()
_processExtends()
_toArray()
$_allowModifications
$_count
$_data
$_extends
$_index
$_loadFileErrorStr
$_loadedSection
$_skipExtends
$_skipNextIteration
XML_NAMESPACE
XML Adapter for Zend_Config
| category | Zend |
|---|---|
| package | Zend_Config |
| copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| license | New BSD License |
__clone() : void
| inherited_from | \Zend_Config::__clone() |
|---|
__construct(string $xml, mixed $section, boolean $options) : void
Sections are defined in the XML as children of the root element. In order to extend another section, a section defines the "extends" attribute having a value of the section name from which the extending section inherits values. Note that the keys in $section will override any keys of the same name in the sections that have been included via "extends".
stringXML file or string to process
mixedSection to process
booleanWhether modifiacations are allowed at runtime
\Zend_Config_Exception |
When xml is not set or cannot be loaded |
|---|---|
\Zend_Config_Exception |
When section $sectionName cannot be found in $xml |
__get(string $name) : mixed
| inherited_from | \Zend_Config::__get() |
|---|
string
mixed__isset(string $name) : boolean
| inherited_from | \Zend_Config::__isset() |
|---|
string
boolean__set(string $name, mixed $value) : void
| inherited_from | \Zend_Config::__set() |
|---|
string
mixed
\Zend_Config_Exception |
|---|
__unset(string $name) : void
areAllSectionsLoaded() : boolean
| inherited_from | \Zend_Config::areAllSectionsLoaded() |
|---|
booleancount() : int
| inherited_from | \Zend_Config::count() |
|---|
intcurrent() : mixed
| inherited_from | \Zend_Config::current() |
|---|
mixedget(string $name, mixed $default) : mixed
| inherited_from | \Zend_Config::get() |
|---|
string
mixed
mixedgetExtends() : array
| inherited_from | \Zend_Config::getExtends() |
|---|
arraygetSectionName() : mixed
| inherited_from | \Zend_Config::getSectionName() |
|---|
mixedkey() : mixed
| inherited_from | \Zend_Config::key() |
|---|
mixedmerge(Zend_Config $merge) : \Zend_Config
next()
| inherited_from | \Zend_Config::next() |
|---|
readOnly() : boolean
| inherited_from | \Zend_Config::readOnly() |
|---|
booleanrewind()
| inherited_from | \Zend_Config::rewind() |
|---|
setExtend(string $extendingSection, string $extendedSection) : void
| inherited_from | \Zend_Config::setExtend() |
|---|
string
string
setReadOnly()
| inherited_from | \Zend_Config::setReadOnly() |
|---|
toArray() : array
| inherited_from | \Zend_Config::toArray() |
|---|
arrayvalid() : boolean
| inherited_from | \Zend_Config::valid() |
|---|
boolean_arrayMergeRecursive(mixed $firstArray, mixed $secondArray) : array
mixedFirst array
mixedSecond array to merge into first array
array_assertValidExtend(string $extendingSection, string $extendedSection) : void
| inherited_from | \Zend_Config::_assertValidExtend() |
|---|
string
string
\Zend_Config_Exception |
|---|
_loadFileErrorHandler(integer $errno, string $errstr, string $errfile, integer $errline)
| inherited_from | \Zend_Config::_loadFileErrorHandler() |
|---|
integer
string
string
integer
_processExtends(SimpleXMLElement $element, string $section, array $config) : array
stringSection to process
arrayConfiguration which was parsed yet
\Zend_Config_Exception |
When $section cannot be found |
|---|
array_toArray(SimpleXMLElement $xmlObject) : array | string
$_allowModifications : boolean
| inherited_from | \Zend_Config::$$_allowModifications |
|---|
$_count : integer
| inherited_from | \Zend_Config::$$_count |
|---|
$_data : array
| inherited_from | \Zend_Config::$$_data |
|---|
$_extends : array
| inherited_from | \Zend_Config::$$_extends |
|---|
$_index : integer
| inherited_from | \Zend_Config::$$_index |
|---|
$_loadFileErrorStr : string
Is null if there was no error while file loading
| inherited_from | \Zend_Config::$$_loadFileErrorStr |
|---|
$_loadedSection : mixed
| inherited_from | \Zend_Config::$$_loadedSection |
|---|
$_skipExtends : boolean
$_skipNextIteration : boolean
| inherited_from | \Zend_Config::$$_skipNextIteration |
|---|
XML_NAMESPACE