| Recommend this page to a friend! |
| Classes of Chavo | > | Simple YAML Config Reader | > | Download .tar.gz .zip | > | > | > | |||||
|
| |||||||||||||||||||||||||||||||||||||||||||
| Detailed description | ||
| This package can be used to read configuration settings from file YAML format. It uses a separate class named SPYC, written by Chris Wanstrath, to parse YAML configuration files and returns an associative array with pairs of configuration options and the respective values. The configuration class uses the singleton pattern, so a configuration file is loaded and parsed only once per script. It automatic switches between configuration files depending on the machine the script is running. It also checks the request query string for language parameter and automatically loads the contents of the relevant localization file into a global variable for easier use. |
| Groups | ||
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Configuration | Configuration formats parsing and generation | View top rated classes |
| Trackback | Applications | Related links | ||||||||
No application links were specified for this class.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||