Login   Register  
PHP Classes
elePHPant
Icontem

dinamicParams: Call a function with a list of dynamic parameters

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-11-23 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 229 All time: 7,028 This week: 2,417Up
Version License PHP version Categories  
dinamicparams 0.9GNU General Public Lice...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 is available for providing paid consulting. Contact solomongaby .
Classes: 10 packages by
Country: Romania Romania
Age: 29
All time rank: 1654 in Romania Romania
Week rank: 458 Down12 in Romania Romania Down
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:229All time:7,028
 This week:0This week:2,417Up