Login   Register  
PHP Classes
elePHPant
Icontem

Class: Permissions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Keith  >  Permissions  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Permissions
Base name: permission
Description: Manipulate user access permission using bit masks
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3671 users
All time rank: 703
Week users: 3 users
Week rank: 1216
Picture of Keith
Author: Keith <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: 33
All time rank: 67285 in United States United States
Week rank: 994 Down110 in United States United States Down


  Detailed description  
This class uses integer bit masks to represent user access permissions. Each bit of an integer permission value represents one condition that determines whether the user can read, write, delete, etc. an associated resource. This allows easy and acurate storage of complex sets permissions in a single integer value.

The class can convert back and forth between permission bit mask values and an associative array of boolean values that has separate entries for each permission bit.

 

  Groups  
Group folder image User Management User records, authentication and session handling View top rated classes
Group folder image Math Math related classes. View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (84.1%)
Good (93.2%)
-
Sufficient (75.0%)
-
-
Not sure (58.9%)
892
Month:
Not yet rated by the users

  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 example.php Example An example of how to use the permissions class
Plain text file permissions.class.php Class The class deal with bitmask permissions

Download all files: permission.tar.gz permission.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.