Login   Register  
PHP Classes
elePHPant
Icontem

PHP Callback: Register and invoke callback functions

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 (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-11-13 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,151 This week: 1All time: 3,019 This week: 1,467Up
Version License Categories  
phpcallback 1.0GNU General Public Lice...Language
Description Author  

This class can be used to register and invoke callback functions.

The class can register a callback function by associating a string that defines the function name to the name of a global function or a function of a given object.

Then the class can invoke a callback function by specifying its name and an eventual list of parameters passed as an array, similar to the PHP call_user_func_array function.

Picture of Konstantin S. Budylov
Name: Konstantin S. Budylov <contact>
Classes: 2 packages by
Country: Russian Federation Russian Federation
Age: 36
All time rank: 72723 in Russian Federation Russian Federation
Week rank: 1125 Down32 in Russian Federation Russian Federation Down

  Files folder image Files  
File Role Description
Plain text file class.phpCallback.php Class class phpCallback
Accessible without login Plain text file example.php Example example file
Plain text file functions.inc.php Aux. Required functions
Accessible without login Plain text file GPL.txt Lic. License
Plain text file README.txt Doc. README
Plain text file class.example_callback.php Class Example callback class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,151All time:3,019
 This week:1This week:1,467Up
 User Comments (1)  
 
Excellent
4 years ago (kishore kumar)
80%StarStarStarStarStar