PHP Classes

Config Loader: Process configuration values parsed from ini files

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-10-27 (1 month ago) RSS 2.0 feedNot enough user ratingsTotal: 313 This week: 5All time: 7,237 This week: 170Up
Version License PHP version Categories
config-loader 1.0.3GNU General Publi...5.0PHP 5, Configuration
Description Author

This class can process configuration values parsed from ini files.

It takes the results of parsing an INI file with the PHP parse_ini_file function and builds an internal array structure with the values.

The configuration values are exposed as class variables.

Picture of Mark Rolich
  Performance   Level  
Name: Mark Rolich <contact>
Classes: 8 packages by
Country: Armenia Armenia
Age: 42
All time rank: 9171 in Armenia Armenia
Week rank: 32 Up1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 2x

Details
This PHP class can be used to read configuration options from ini files. Supports multidimensional arrays Copyright (C) 2012 Mark Rolich
  Files folder image Files  
File Role Description
Accessible without login Plain text file .htaccess Data Prevent from viewing ini files
Accessible without login Plain text file config.ini Data Sample confuration file
Plain text file Config.php Class Main class
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file example_array.php Example Example script
Accessible without login Plain text file example_object.php Example Example script
Accessible without login Plain text file license.txt Lic. LICENSE
Accessible without login Plain text file README Data README

 Version Control Unique User Downloads Download Rankings  
 100%
Total:313
This week:5
All time:7,237
This week:170Up