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 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 231 All time: 7,227 This week: 1,424Up
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 is available for providing paid consulting. Contact solomongaby .
Classes: 10 packages by
Country: Romania Romania
Age: 30
All time rank: 1644 in Romania Romania
Week rank: 473 Down9 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:231All time:7,227
 This week:0This week:1,424Up