Login   Register  
PHP Classes
elePHPant
Icontem

Safe Object: Dynamically restrict the access to class variables

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-03-29 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 159 All time: 7,373 This week: 1,826Up
Version License PHP version Categories  
safe-object 1.0MIT/X Consortium License5PHP 5, Language
Description Author  

This class can dynamically restrict the access to class variables.

It is a base class that should be extended by other classes.

The base class can set dynamically the list of class variables that are accessible or restricted. It provides setter and getter functions to enforce the defined access permissions.

Picture of Costin Trifan
Name: Costin Trifan <contact>
Classes: 5 packages by
Country: Romania Romania
Age: 36
All time rank: 66612 in Romania Romania
Week rank: 573 Up14 in Romania Romania Down

  Files folder image Files  
File Role Description
Plain text file baseClass Class The base Class
Accessible without login Plain text file example_restricted_access Example Example page
Accessible without login Plain text file example_unrestricted_access Example Example page

 Version Control Unique User Downloads Download Rankings  
 0%Total:159All time:7,373
 This week:0This week:1,826Up