PHP Classes

PHP Handyman: Dynamically add functions to an object

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: 366 All time: 6,851 This week: 660Up
Version License PHP version Categories
php-handyman 0.9.3GNU General Publi...5.3PHP 5, Language
Description 

Author

This class can dynamically add functions to an object.

It can register a global function to an object of the class which is called when a function with the same name is called on that object.

The class can also register other classes which will be called when functions of the object are called for which there is a function with the same name in the registered classes.

Those class files can be automatically loaded when necessary if there are class files in the current directory or in the include path with matching names.

Picture of Carlo Pietrobattista
  Performance   Level  

 

  Files folder image Files (14)  
File Role Description
Files folder imageexamples (1 file, 1 directory)
Plain text file PtcHm.php Class main class

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  
 100%
Total:366
This week:0
All time:6,851
This week:660Up