PHP Classes
elePHPant
Icontem

PHP Handyman: Dynamically add functions to an object

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-05-02 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 365 All time: 6,485 This week: 1,136Up
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  
Name: Carlo Pietrobattista <contact>
Classes: 5 packages by
Country: Italy Italy

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

  Files folder image Files  /  examples  
File Role Description
Files folder imageautoloader-example-files (5 files, 2 directories)
  Accessible without login Plain text file ptchm-ex.php Example autoloader examples file

  Files folder image Files  /  examples  /  autoloader-example-files  
File Role Description
Files folder imagenamespaceTest (2 files, 1 directory)
Files folder imagetest-separators (3 files)
  Accessible without login Plain text file class-file.php Example autoloader example class file
  Accessible without login Plain text file HmTestClass.php Example autoloder example class file
  Accessible without login Plain text file hmtestclassls.php Example autoloader example class file
  Accessible without login Plain text file ns-class-file.php Example autoloader example class file
  Accessible without login Plain text file README Data autoloader example files folder

  Files folder image Files  /  examples  /  autoloader-example-files  /  namespaceTest  
File Role Description
Files folder imagehmNsDeep (2 files)
  Accessible without login Plain text file HmTestNs.php Example autoloader example class in namespaced folder
  Accessible without login Plain text file README Data utoloader example namespaced folder with classes

  Files folder image Files  /  examples  /  autoloader-example-files  /  namespaceTest  /  hmNsDeep  
File Role Description
  Accessible without login Plain text file HmTestNsDeep.php Example autoloader example file namespaced class in subfolder
  Accessible without login Plain text file README Data utoloader examples folder namespaced classes in subfolder

  Files folder image Files  /  examples  /  autoloader-example-files  /  test-separators  
File Role Description
  Accessible without login Plain text file class.hm-test-sep1.php Example utoloader example class with different naming convention
  Accessible without login Plain text file Hm-Test-Sep.php Example utoloader example class with different naming convention
  Accessible without login Plain text file README Data autoloader example folder classes with different naming convention

 Version Control Unique User Downloads Download Rankings  
 100%
Total:365
This week:0
All time:6,485
This week:1,136Up