PHP Classes

Dynamic Method: Dynamically add functions to objects

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 952 All time: 3,769 This week: 313Up
Version License PHP version Categories
dynamic_method 1.0BSD License4.0Language, Code Generation
Description Author

This package can be used to dynamically add new functions to already created objects.

It takes an existing object and creates a sub-class of the object's class that has a new function with a given name and code defined by a string.

A new object is created with variables set to copies of the original object variable values.

Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 35
All time rank: 71 in Paraguay Paraguay
Week rank: 553 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Files folder image Files  
File Role Description
Plain text file dynmethod.php Class main class
Accessible without login Plain text file example.php Example Example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,769
This week:313Up
 User Ratings  
 All time