Ini
class Ini extends Config_Abstract implements Iterator, Traversable, 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 Config_Abstract | |
protected bool | $_readonly | from 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
Details
mixed
get(string $name = null)
No description
Config_Abstract
set(string $name, mixed $value)
deprecated
deprecated
No description
bool
readonly()
No description
array
toArray()
No description
__get($name = null)
No description
__set($name, $value)
No description
__construct(string $config_file, string $section = null)
No description
__isset(string $name)
No description
int
count()
No description
void
rewind()
No description
mixed
current()
No description
void
next()
No description
bool
valid()
No description
mixed
key()
No description
void
offsetUnset($name)
deprecated
deprecated
No description
mixed
offsetGet($name)
No description
bool
offsetExists($name)
No description
void
offsetSet($name, TValue $value)
No description