Login   Register  
PHP Classes

Class: Class Prototype

Icontem
elePHPant

  Classes of Marco Marchiņ  >  Class Prototype  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Class Prototype Support forum
Base name: class-prototype
Description: Define variables of all class objects dynamically
Version: 1.0
Required PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
 
  Author   Group folder image Groups   Detailed description  
  Applications   Files Files  

Author

Picture of Marco Marchiò
Name: Marco Marchiņ <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: ???

Innovation Award

PHP Programming Innovation award nominee
February 2010
Number 2
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

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

Detailed description

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.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file classPrototype.php Class classPrototype engine
HTML file documentation.html Doc. documentation
Plain text file test.php Example test
Download all files: class-prototype.tar.gz class-prototype.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.