PHP Classes
elePHPant
Icontem

dinamicParams: Call a function with a list of dynamic parameters

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-11-23 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 235 All time: 7,523 This week: 935Up
Version License PHP version Categories
dinamicparams 0.9GNU General Publi...5PHP 5, Language
Description Author

This class can be used to call a function passing a list of parameters built dynamically.

It can takes the name of a function, an optional object and an array with the list of parameters and calls the specified function of the object.

The class uses the reflection API to determine the function parameters and calls the function, using the parameter values passed as arguments in an array, filling missed parameters with the corresponding default values.

Picture of solomongaby
Name: solomongaby <contact>
Classes: 10 packages by
Country: Romania Romania
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file dinamicParams.class.php Class main class
Accessible without login Plain text file example.php Example example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:235
This week:0
All time:7,523
This week:935Up