PHP Classes

Safe Object: Dynamically restrict the access to class variables

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 163 All time: 8,931 This week: 660Up
Version License PHP version Categories
safe-object 1.0MIT/X Consortium ...5PHP 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: 46
All time rank: 64712 in Romania Romania
Week rank: 180 Up4 in Romania Romania Up

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:163
This week:0
All time:8,931
This week:660Up