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    
Last Updated Ratings Unique User Downloads Download Rankings
2008-02-12 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 923 All time: 3,724 This week: 1,090Up
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: 37 packages by
Country: Paraguay Paraguay
Age: 29
All time rank: 71 in Paraguay Paraguay
Week rank: 43 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

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,724
This week:1,090Up