PHP Classes
Icontem

Class: Config


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of M.C. van der Most van Spijk  >  Config  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Config Support forum
Base name: mickious_config
Description: Get config values from INI files XPath style
Related top rated classes: ,
Version: -
Required PHP version: 5
License: MIT/X Consortium License
All time users: 491 users
All time rank: 3652
Week users: 4 users
Week rank: 1979
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of M.C. van der Most van Spijk
Name: M.C. van der Most van Spijk <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Home page: http://www.publika.nl/
Age: 32
All time rank: 1173
Week rank: 796

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Configuration Configuration formats parsing and generation View top rated classes

Detailed description

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');

User ratings

Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file Config.class.php Class Config class
Plain text file example.php Example Example of use
Download all files: mickious_config.tar.gz mickious_config.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products