|
The Yaf_Config_Simple classIntroductionYaf_Config_Simple is a configuration adapter backed by a PHP array (or, optionally, an INI file). In contrast to Yaf_Config_Ini it is mutable by default: values can be changed at runtime, which makes it suitable both for programmatically built configuration and for configuration that needs to be adjusted during the request. Class synopsisYaf_Config_Simple
class Yaf_Config_Simple
extends
Yaf_Config_Abstract
implements
Iterator, ArrayAccess, Countable {
/* Properties */
protected
$_readonly;
/* Methods */
public __construct(array
$values, bool $readonly = false)public int count()
public mixed current()
public mixed get(string
$name = NULL)public bool __isset(string
$name)public mixed key()
public void next()
public bool offsetExists(mixed
$name)public mixed offsetGet(mixed
$name)public void offsetSet(mixed
$name, mixed $value)public void offsetUnset(mixed
$name)public bool readonly()
public void rewind()
public bool set(string
$name, mixed $value)public array toArray()
public bool valid()
/* Inherited methods */
public mixed Yaf_Config_Abstract::get(string
$name = NULL)abstract public bool Yaf_Config_Abstract::readonly()
abstract public bool Yaf_Config_Abstract::set(string
$name, mixed $value)public array Yaf_Config_Abstract::toArray()
}Properties
|