Login   Register  
PHP Classes
elePHPant
Icontem

User Roles: Manage the roles of users stored as bit masks

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-09-16 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 829 All time: 3,840 This week: 1,435Up
Version License PHP version Categories  
userroles 1.0Artistic License5.0PHP 5, User Management
Description Author  

This class can manage the roles of users stored as bit masks.

It can load a PHP file that returns an array which defines the names of the roles that users may have.

A role is associated to a bit value. A complex role may be defined by an array that includes a list of other aggregated roles represented by a role bit mask.

The class can retrieve the bit mask of a role or change already defined roles.

Picture of Stefan Jibrail Froelich
Name: Stefan Jibrail Froelich is available for providing paid consulting. Contact Stefan Jibrail Froelich .
Classes: 4 packages by
Country: Ghana Ghana
Age: ???
All time rank: 11432 in Ghana Ghana
Week rank: 777 Up2 in Ghana Ghana Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file examples.php Example examples
Plain text file userroles.php Class the main classes used
Accessible without login Plain text file userroles_config.php Conf. an optional configuration file

 Version Control Unique User Downloads Download Rankings  
 0%Total:829All time:3,840
 This week:0This week:1,435Up
 User Comments (1)