PHP Classes
elePHPant
Icontem

ParamsProxy: Setup an object from XML definitions

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-01-13 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 341 All time: 6,684 This week: 909Up
Version Licenses PHP version Categories
paramsproxy 1.5Artistic License, C...5.0XML, PHP 5, Language
Description Author

This class can be used to setup an object from XML definitions.

It parses a XML with definitions of variables and values to set in a given object.

The class calls the object setter methods to set the given variable values.

Innovation Award
PHP Programming Innovation award nominee
June 2009
Number 4


Prize: One downloadable copy of Komodo IDE
Sometimes it is necessary to configure classes of objects depending on the environment on which the class is installed.

This class provides a solution to define which class variables need to be setup on different environments given an external XML file with the necessary definitions.

Manuel Lemos
Picture of Claudius Tiberiu Iacob
Name: Claudius Tiberiu Iacob <contact>
Classes: 4 packages by
Country: Romania Romania
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • Screenshot_B.jpg
  • Screenshot_A.jpg
  Files folder image Files  
File Role Description
Plain text file ParamsProxy.php Class The main class file.
Plain text file HowToInstall.txt Data Getting Started guide
HTML file ParamsProxy.html Doc. Documentation
Plain text file ParamsProxy_config.xml Data See "HowToInstall.txt" for info
Plain text file ParamsProxyDemo.php Example See "HowToInstall.txt" for info
Plain text file config.xml Data See "HowToInstall.txt" for info
Plain text file creative-commons-a...ion-share-alike.txt Lic. License File

Downloadparamsproxy-2010-01-13.zip 145KB
Downloadparamsproxy-2010-01-13.tar.gz 144KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
DOMIT XML parser Download .zip .tar.gz Quote from the documentation: "Takes an XML file as input, parses it, and sets parsed values to a given class instance, provided the class has appropriate public setter methods." Required
 Version Control Reuses Unique User Downloads Download Rankings  
 0%3
Total:341
This week:0
All time:6,684
This week:909Up