public static
void
|
#
registerExtension(
string
$extension,
string
$class
)
Registers adapter for given file extension. Registers adapter for given file extension. Parameters$extension string file extension$class string class name (IConfigAdapter) |
public static
Config
|
#
fromFile(
string
$file,
string
$section = NULL
)
Creates new configuration object from file. Creates new configuration object from file. Parameters$file string file name$section string section to load |
public
|
#
__construct(
array
$arr = NULL
)
Parameters$arr array to wrap |
public
void
|
#
save(
string
$file
)
Save configuration to file. Save configuration to file. Parameters$file string file |
public
|
#
__set(
$key,
$value
)
|
public
&
|
#
__get(
$key
)
|
public
|
#
__isset(
$key
)
|
public
|
#
__unset(
$key
)
|
public
void
|
#
offsetSet(
mixed
$key,
mixed
$value
)
Replaces or appends a item. Replaces or appends a item. Parameters$key mixed$value mixedImplementation of |
public
mixed
|
#
offsetGet(
mixed
$key
)
Returns a item. |
public
bool
|
#
offsetExists(
mixed
$key
)
Determines whether a item exists. |
public
void
|
#
offsetUnset(
mixed
$key
)
Removes a item. |
public
RecursiveIterator
|
#
getIterator(
)
Returns an iterator over all items. |
public
array
|
#
toArray(
)
|