PHP Classes

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

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
StarStarStar 41%Total: 873 All time: 4,028 This week: 660Up
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
  Performance   Level  
Name: Stefan Jibrail Froelich is available for providing paid consulting. Contact Stefan Jibrail Froelich .
Classes: 6 packages by
Country: United States United States
Age: ???
All time rank: 1105159 in United States United States
Week rank: 41 Up6 in United States United States Up
Innovation award
Innovation award
Nominee: 3x

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

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:873
This week:0
All time:4,028
This week:660Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:3708