YANA 4 PHP Framework
Docs for page config.php
Handling of Config- and SML-Files
Read a config file and returns it contents
The argument $input can wether be a filename or a numeric array of strings created by file($filename).
The argument $mode can be used to decide how keys should be treated.
Valid values for $mode are:
Name | Type | Description |
---|---|---|
$input | array|string | |
$mode | int |
Read a config file and copy its contents to the global scope
The argument $mode can be used to decide how keys should be treated.
Valid values for $mode are:
Name | Type | Description |
---|---|---|
$filename | string | |
$mode | int |
Create a config file from scalar variable or array data.
The argument $name can be used to specify the name of the root node. If $name is omitted, no root node is created.
The argument $mode can be used to decide how keys should be treated.
Note that any tags from string inputs will be stripped.
Valid values for $mode are:
Name | Type | Description |
---|---|---|
$filename | string | |
$mode | int |
Documentation generated on Sat, 16 Sep 2006 17:06:16 +0200 by phpDocumentor 1.3.0RC4