Login   Register  
PHP Classes
elePHPant
Icontem

Mrasnika's configuration system: Store and retrieve settings from XML files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-01-06 (10 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 2,192 All time: 1,660 This week: 1,432Up
Version License Categories  
mrasnika_cnfgrsystm 1.0Free for non-commercial...XML, Configuration
Description Author  

This class uses an XML file to store a data structure for keeping different kind of settings.

The XML file has different element of several data types, which are validated when the settings are stored or retrieved.

The settings from the configuration file are split in different groups, depending on the purpose for which they are used in the application.

These settings can be modified using the class, and then again saved to XML format.

Picture of Kaloyan Kirilov
Name: Kaloyan Kirilov <contact>
Classes: 4 packages by
Country: Bulgaria Bulgaria
Age: 36
All time rank: 4103 in Bulgaria Bulgaria
Week rank: 1723 Down12 in Bulgaria Bulgaria Down

  Files folder image Files  
File Role Description
Plain text file config.inc.php Class The class itself
Accessible without login Plain text file config.xml Data Data Source
Accessible without login Plain text file readme.txt Doc. Some details on the script
Accessible without login Plain text file test.php Example An example

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,192All time:1,660
 This week:0This week:1,432Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:70%StarStarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:412