Login   Register  
PHP Classes
elePHPant
Icontem

Class: Gettable

  Classes of Chris Lam  >  Gettable  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Gettable Support forum
Base name: gettable
Description: Make protected class properties accessible
Version: -
Required PHP version: 5.1
License: BSD License
All time users: 271 users
All time rank: 4941
Week users: 0 users
Week rank: 3854
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Chris Lam
Name: Chris Lam <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: Hong Kong Hong Kong - PHP jobs in Hong Kong
Home page: http://www.hehachris.com/
Age: 23
All time rank: 1471
Week rank: 1239

Innovation Award

PHP Programming Innovation award nominee
February 2010
Number 6
Private and protected variables may not be accessed from code that is outside the object class.

Sometimes it is necessary that external code has read-only access to private and protected variables. This class provides a way to achieve that.

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 class can be used to make protected class properties accessible from outside.

It is an abstract class that provides access to retrieve values of protected properties while still preventing to change their values.

Protected properties with names that start with an underscore still cannot be accessed from outside of the class even i

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