|
Stud.IP
2.4 Revision 48548
|


Public Member Functions | |
| __construct ($conf=array(), $path=NULL) | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Static Public Member Functions | |
| static | load ($path, $force=FALSE) |
This class is used to configure the Squeeze packager. You can either use a yaml file or a plain PHP array.
| __construct | ( | $conf = array(), |
|
$path = NULL |
|||
| ) |
Create an instance of this class by using a plain PHP array.
| array | $conf | an array containing the configuration settings |
| string | $path | the path to the config file that was used (NULL if instantiated via constructor) |
|
static |
Create a configuration object by parsing a yaml file. The result of the parser is cached for 10 seconds. You can force an uncached parsing by setting the 2nd param to true.
| string | $path | the file to parse |
| bool | $force | cache unless TRUE |

| offsetExists | ( | $offset | ) |
ArrayAccess: Check whether the given offset exists.
| offsetGet | ( | $offset | ) |
ArrayAccess: Get the value at the given offset.
| offsetSet | ( | $offset, | |
| $value | |||
| ) |
ArrayAccess: Set the value at the given offset.
| offsetUnset | ( | $offset | ) |
ArrayAccess: Delete the value at the given offset.