PHP Classes

Editable: Add functions and variables dynamically to objects

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-06-02 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 269 All time: 7,705 This week: 204Up
Version License PHP version Categories
editable 9BSD License5PHP 5, Language
Description 

Author

This class can add functions and variables dynamically to objects.

It can add new public and private variables to an object that extends the editable class. The variables may be set to a given initial value.

It can also add or replace public and private functions with a new function code.

The class can also intercept calls to functions by calling the code of a given function before calling the actual function being intercepted.

Picture of Nicola Covolo
  Performance   Level  
Name: Nicola Covolo <contact>
Classes: 6 packages by
Country: Italy Italy
Age: ???
All time rank: 127349 in Italy Italy
Week rank: 180 Up9 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imageexamples (3 directories)
Plain text file Editable.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
Files folder imageadding (2 files)
Files folder imageintercepting (4 files)
Files folder imagerewritting (2 files)

  Files folder image Files  /  examples  /  adding  
File Role Description
  Plain text file B.php Class Example script
  Accessible without login Plain text file test.php Example Example script

  Files folder image Files  /  examples  /  intercepting  
File Role Description
  Plain text file B.php Class Example script
  Accessible without login Plain text file test2.php Example Example script
  Accessible without login Plain text file test3.php Example Example script
  Accessible without login Plain text file tets.php Example Example script

  Files folder image Files  /  examples  /  rewritting  
File Role Description
  Plain text file B.php Class Example script
  Accessible without login Plain text file test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:269
This week:0
All time:7,705
This week:204Up
User Comments (1)
good
10 years ago (Rahul Shambharkar)
80%StarStarStarStarStar