PHP Classes
elePHPant
Icontem

dynClass: Extends stdClass to have callable functions

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2017-03-19 (1 month ago) RSS 2.0 feedStarStarStarStar 66%Total: 140 This week: 3All time: 8,389 This week: 277Up
Version License PHP version Categories
dynclass 1.0.0GNU General Publi...5PHP 5, Data types
Description Author

This class can extends stdClass to have callable functions.

The __construct function takes an array of values that define either class variables or functions. The variables or functions may also be assigned setting an object value.

Calling a property assigned to a callable function will call the function forwarding any parameters.

Name: Chris Jeffries <contact>
Classes: 4 packages by
Country: United Kingdom United Kingdom
Age: 69
All time rank: 2431111 in United Kingdom United Kingdom
Week rank: 264 Up9 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file dynClass.class.php Class The class definition
Accessible without login Plain text file dynClass.docs.pdf Doc. How to use dynClass
Accessible without login Plain text file testdynclass.php Example Test program for dynClass

 Version Control Unique User Downloads Download Rankings  
 0%
Total:140
This week:3
All time:8,389
This week:277Up
 User Ratings  
 
 All timeMonth
Utility:81%StarStarStarStarStar81%Equal
Consistency:87%StarStarStarStarStar87%Equal
Documentation:87%StarStarStarStarStar87%Equal
Examples:87%StarStarStarStarStar87%Equal
Tests:--
Videos:--
Overall:66%StarStarStarStar66%Equal
Rank:5864Up