PHP Classes

Classes of Chavo

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Chavo (1)  >  Mission progress status  >  Reputation  
Picture of Chavo
Name: Chavo <contact>
Classes: 1
Country: Bulgaria Bulgaria
Age: 46
All time rank: 227817 in Bulgaria Bulgaria
Week rank: 358 Up3 in Bulgaria Bulgaria Up
All time users: 1070
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Simple YAML Config Reader  
Read configuration settings from YAML files
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.
Not enough user ratings


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z