PHP Classes
Icontem

Class: Property


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lucas Araújo  >  Property  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Property Support forum
Base name: property
Description: Add read-only class variables dynamically
Version: -
Required PHP version: 5
License: GNU General Public License (GPL)
All time users: 444 users
All time rank: 3620
Week users: 3 users
Week rank: 1984
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Lucas Araújo
Name: Lucas Araújo <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Home page: http://twitter.com/lucasaraujo
Age: 28
All time rank: 1466
Week rank: 593

Innovation Award

PHP Programming Innovation award nominee
December 2006
Number 9
Under PHP 5, you can have classes with variables with restricted access using private and protected accessor clauses. However, these keywords do not provide read-only access to a variable.

This class implements read-only access control into class variables. It uses special getter and setter functions to overcome the original access control restrictions of PHP 5.

Manuel Lemos

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

Detailed description

This package can be used to add and remove variables to a class dynamically at run-time.

The variables may be made read-only. Read-only variables may not be changed or removed.

Each variable may have associated custom setter and getter functions in order to implement special purpose behavior when the variable is changed or retrieved.

User ratings

There are not enough user ratings to display for this class.

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 Property.php Class Property and Value classes
Plain text file PropertyTest.php Example Property class test
Download all files: property.tar.gz property.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products