Login   Register  
PHP Classes
elePHPant
Icontem

ParamsProxy: Setup an object from XML definitions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 328 All time: 6,397 This week: 1,533Up
Version Licenses PHP version Categories  
paramsproxy 1.5Artistic License, Custo...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 is available for providing paid consulting. Contact Claudius Tiberiu Iacob .
Classes: 4 packages by
Country: Romania Romania
Age: 33
All time rank: 181244 in Romania Romania
Week rank: 1776 Up47 in Romania Romania Down
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%3Total:328All time:6,397
 This week:0This week:1,533Up