PHP Classes

Dynamic Method: Dynamically add functions to objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 912 All time: 3,708 This week: 920Up
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: 28
All time rank: 71 in Paraguay Paraguay
Week rank: 30 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  
 0%Total:912All time:3,708
 This week:0This week:920Up