__clone()
__construct()
__get()
__isset()
__set()
__unset()
areAllSectionsLoaded()
count()
current()
get()
getExtends()
getSectionName()
key()
merge()
next()
readOnly()
rewind()
setExtend()
setReadOnly()
toArray()
valid()
_assertValidExtend()
_loadFileErrorHandler()
_loadIniFile()
_processKey()
_processSection()
$_allowModifications
$_count
$_data
$_extends
$_index
$_loadFileErrorStr
$_loadedSection
$_nestSeparator
$_sectionSeparator
$_skipExtends
$_skipNextIteration
| 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 $filename, string | null $section, boolean | array $options) : void
If the section name contains a ":" then the section name to the right is loaded and included into the properties. Note that the keys in this $section will override any keys of the same name in the sections that have been included via ":". If the $section is null, then all sections in the ini file are loaded. If any key includes a ".", then this will act as a separator to create a sub-property. example ini file: [all] db.connection = database hostname = live [staging : all] hostname = staging after calling $data = new Zend_Config_Ini($file, 'staging'); then $data->hostname === "staging" $data->db->connection === "database" The $options parameter may be provided as either a boolean or an array. If provided as a boolean, this sets the $allowModifications option of Zend_Config. If provided as an array, there are two configuration directives that may be set. For example: $options = array( 'allowModifications' => false, 'nestSeparator' => '->' );
string
stringnull
booleanarray
\Zend_Config_Exception |
|---|
__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_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
_loadIniFile(string $filename) : array
_processKey(array $config, string $key, string $value) : array
_processSection(array $iniArray, string $section, array $config) : array
array
string
array
\Zend_Config_Exception |
|---|
array$_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 |
|---|
$_nestSeparator : string
$_sectionSeparator : string
$_skipExtends : boolean
$_skipNextIteration : boolean
| inherited_from | \Zend_Config::$$_skipNextIteration |
|---|