Yaf_Config_Ini
class Yaf_Config_Ini extends Yaf_Config_Abstract implements Iterator, ArrayAccess, Countable (View source)
Yaf_Config_Ini enables developers to store configuration data in a familiar INI format and read them in the application by using nested object property syntax. The INI format is specialized to provide both the ability to have a hierarchy of configuration data keys and inheritance between configuration data sections. Configuration data hierarchies are supported by separating the keys with the dot or period character ("."). A section may extend or inherit from another section by following the section name with a colon character (":") and the name of the section from which data are to be inherited.
Note:
Yaf_Config_Ini utilizes the ยป parse_ini_file() PHP function. Please review this documentation to be aware of its specific behaviors, which propagate to Yaf_Config_Ini, such as how the special values of "TRUE", "FALSE", "yes", "no", and "NULL" are handled.
Properties
protected array | $_config | from Yaf_Config_Abstract | |
protected bool | $_readonly | from Yaf_Config_Abstract |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
mixed
get(string|null $name = null)
No description
bool
set(string $name, mixed $value)
No description
int
count()
No description
void
rewind()
No description
mixed
current()
No description
mixed
key()
No description
void
next()
No description
bool
valid()
No description
bool
readonly()
No description
array
toArray()
No description
void
offsetSet(TKey $offset, TValue $value)
No description
void
offsetUnset(mixed $name)
deprecated
deprecated
No description
bool
offsetExists(mixed $name)
No description
mixed
offsetGet(mixed $name)
No description
mixed
__get(string $name = null)
No description
bool
__isset(string $name)
No description
__construct(array|string $config_file, string|null $section = null)
No description
__set(mixed $name, mixed $value)
No description