Login   Register  
PHP Classes
elePHPant
Icontem

Dynamic Method: Dynamically add functions to objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 897 All time: 3,665 This week: 1,608Up
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
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 37 packages by
Country: Paraguay Paraguay
Age: 27
All time rank: 71 in Paraguay Paraguay
Week rank: 25 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:897All time:3,665
 This week:0This week:1,608Up