PHP Classes

dinamicParams: Call a function with a list of dynamic parameters

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 237 All time: 8,067 This week: 455Up
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: 40
All time rank: 1745 in Romania Romania
Week rank: 200 Down2 in Romania Romania Up
Innovation award
Innovation award
Nominee: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:237
This week:0
All time:8,067
This week:455Up