Login   Register  
PHP Classes
elePHPant
Icontem

Class: pConfig

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Guilherme Blanco  >  pConfig  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: pConfig
Base name: pconfig
Description: Manage hierarchical configuration files
Related classes: , , , , ,
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 883 users
All time rank: 3250
Week users: 2 users
Week rank: 1677
Picture of Guilherme Blanco
Author: Guilherme Blanco is available for providing paid consulting. Contact Guilherme Blanco .
Packages: 5 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Age: 28
All time rank: 18212 in Brazil Brazil
Week rank: 519 Down43 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description  
This class can be used to create and manage hierarchical configuration files.

The configuration is defined as a tree of unlimited depth on which the nodes may contain any type of values.

The class read and write the configuration to files. The class supports writing configuration files in a protected mode, which consists of generating a PHP script file that does not output anything if it is executed when it is directly accessible via the Web server. This way it does not exposes the information stored in the configuration file.

The class also supports writing configuration files in a synchronized mode, on which each change to configuration tree is automatically saved to the configurator file.

The class may also store comments to help other people understanding the data that is stored.

The generated configuration files are automatically indented according to the depth of the nodes.

 

  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

  Rate classes User ratings   Dependencies   Applications   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Packages needed by this class  
Class Dependency Why it is needed
pTree
Required
Used to manage Tree Structure

  Applications that use this class  
Link Description
VGPro.com Games Information WebSite. Uses pConfig in Admin Area, providing configuration information of database, rows per page, etc
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagedocs (3 files)
Plain text file class.pConfig.php Class Full Class Source
Plain text file config_generated.ini.php Output Generated Output
Plain text file test_config.php Example First Test
Plain text file test_config2.php Example Second Test

  Files  /  Files folder image docs  
File Role Description
  HTML file pConfig.html Doc. pConfig API
  HTML file pConfig_INDEX.html Doc. pConfig INDEX
  Plain text file stylesheet.css Data CSS Definitions

Download all files: pconfig.tar.gz pconfig.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.