Zend_ConfigImplements interfaces:
Located in /Config.php (line 29)
| Class | Description |
|---|---|
Zend_Config_Xml
|
XML Adapter for Zend_Config |
Zend_Config_Ini
|
boolean
$_allowModifications
(line 36)
Whether in-memory modifications to configuration data are allowed
integer
$_count
(line 50)
Number of elements in configuration data
array
$_data
(line 57)
Contains array of configuration data
array
$_extends
= array() (line 82)
This is used to track section inheritance. The keys are names of sections that extend other sections, and the values are the extended sections.
integer
$_index
(line 43)
Iteration index
mixed
$_loadedSection
(line 74)
Contains which config file sections were loaded. This is null if all sections were loaded, a string name if one section is loaded and an array of string names if multiple sections were loaded.
string
$_loadFileErrorStr
= null (line 91)
Load file error string.
Is null if there was no error while file loading
boolean
$_skipNextIteration
(line 65)
Used when unsetting values during iteration to ensure we do not skip the next element
Constructor __construct (line 105)
Zend_Config provides a property based interface to an array. The data are read-only unless $allowModifications is set to true on construction.
Zend_Config also implements Countable and Iterator to facilitate easy access to the data.
areAllSectionsLoaded (line 327)
Returns true if all sections were loaded
count (line 248)
Defined by Countable interface
current (line 258)
Defined by Iterator interface
get (line 128)
Retrieve a value and return $default if there is no element set.
getExtends (line 393)
Get the current extends
getSectionName (line 314)
Returns the section name(s) loaded.
key (line 269)
Defined by Iterator interface
merge (line 341)
Merge another Zend_Config with this one. The items in $merge will override the same named items in the current config.
next (line 278)
Defined by Iterator interface
readOnly (line 383)
Returns if this Zend_Config object is read only or not.
rewind (line 292)
Defined by Iterator interface
setExtend (line 405)
Set an extend for Zend_Config_Writer
setReadOnly (line 368)
Prevent any more modifications being made to this instance. Useful after merge() has been used to merge multiple Zend_Config objects into one object which should then not be modified again.
toArray (line 197)
Return an associative array of the stored data.
valid (line 304)
Defined by Iterator interface
_arrayMergeRecursive (line 464)
Merge two arrays recursively, overwriting keys of the same name in $firstArray with the value in $secondArray.
_assertValidExtend (line 423)
Throws an exception if $extendingSection may not extend $extendedSection, and tracks the section extension if it is valid.
_loadFileErrorHandler (line 447)
Handle any errors from simplexml_load_file or parse_ini_file
__clone (line 179)
Deep clone of this instance to ensure that nested Zend_Configs are also cloned.
__get (line 143)
Magic function so that $obj->value will work.
__isset (line 217)
Support isset() overloading on PHP 5.1
__set (line 157)
Only allow setting of a property if $allowModifications was set to true on construction. Otherwise, throw an exception.
__unset (line 229)
Support unset() overloading on PHP 5.1
Documentation generated on Mon, 21 Jun 2010 15:13:24 -0400 by phpDocumentor 1.4.3