Login   Register  
PHP Classes
elePHPant
Icontem

Gettable

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Chris Lam
Name: Chris Lam <e-mail contact>
Packages: 3 Browse all classes by Chris Lam Browse all classes by
Country: Hong Kong Hong Kong - PHP jobs in Hong Kong
Age: 26
All time rank: 15898 in Hong Kong Hong Kong
Week rank: 2168 Down10 in Hong Kong Hong Kong Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
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

  Classes of Chris Lam  >  Gettable  >  Download .zip .tar.gz  >  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: 292 users
All time rank: 6171
Week users: 0 users
Week rank: 2051 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  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


  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
Accessible without login 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.