Login   Register  
PHP Classes
elePHPant
Icontem

Class: Gettable

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Chris Lam  >  Gettable  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Gettable
Base name: gettable
Description: Make protected class properties accessible
Version: -
PHP version: 5.1
License: BSD License
All time users: 285 users
All time rank: 5651
Week users: 0 users
Week rank: 2364
Picture of Chris Lam
Author: Chris Lam <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: Hong Kong Hong Kong - PHP jobs in Hong Kong
Age: 24
All time rank: 15378 in Hong Kong Hong Kong
Week rank: 2255 Down12 in Hong Kong Hong Kong Down
Innovation award
Innovation award
Nominee: 1x


  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

 

  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

  Rate classes User ratings   Applications   Files Files  

  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

  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 folder image 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.