PHP Classes

Packages of M.C. van der Most van Spijk

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of M.C. van der Most van Spijk (2)  >  Mission progress status  >  Reputation  
Picture of M.C. van der Most van Spijk
Name: M.C. van der Most van ... <contact>
Classes: 2
Country: The Netherlands The Netherlands
Age: 49
All time rank: 116931 in The Netherlands The Netherlands
Week rank: 195 Up4 in The Netherlands The Netherlands Up
All time users: 2715
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 Config  
Get config values from INI files XPath style
This class can be used to retrieve configuration values from INI files in XPath style.

It can open an INI format file given a path that includes the base name, section and setting that you want retrieve.

The class parses the file and returns the specified setting value.

The singleton pattern is used to keep a cache of previously parsed INI files in case multiple setting values need to be retrieved.

Example:
$conf = Config::singelton('myconf.ini');
$setting = $conf->getSetting('myconf/email/cc');

  Files folder image Ini  
Ini files parser
Parse .ini files based on ini file specifications.


  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