Login   Register  
PHP Classes
elePHPant
Icontem

Class Prototype: Define variables of all class objects dynamically

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-01-22 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 808 All time: 3,892 This week: 1,443Up
Version License PHP version Categories  
class-prototype 1.0GNU Lesser General Publ...5.2PHP 5, Language
Description Author  
PHP Programming Innovation award nominee
February 2010
Number 2


Prize: One year subscription to the PDF edition of the JSMag magazine
This class can be used to define variables of all class objects dynamically similar to Javascript prototype.

It defines a base class that assigns values to variables of existing and future objects of derived classes.
Picture of Marco Marchi˛
Name: Marco Marchi˛ <contact>
Classes: 3 packages by
Country: Italy Italy
Age: 25
All time rank: 78031 in Italy Italy
Week rank: 584 Up25 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file classPrototype.php Class classPrototype engine
Accessible without login HTML file documentation.html Doc. documentation
Accessible without login Plain text file test.php Example test

Innovation Award  
PHP Programming Innovation award nominee
February 2010
Number 2


Prize: One year subscription to the PDF edition of the JSMag magazine
Some languages, like for instance JavaScript, allow you to dynamically add variables and functions to objects of a class.

This class provides a similar solution that allows assigning new variables to all existing and future objects of the same base class.

Manuel Lemos
 Version Control Unique User Downloads Download Rankings  
 0%Total:808All time:3,892
 This week:0This week:1,443Up