PHP Classes

Bitwise on String Operations: Define user permissions with bitwise operations

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: 193 All time: 8,556 This week: 36Up
Version License PHP version Categories
string_bitwise 0.10GNU General Publi...5.0PHP 5, User Management, Math
Description 

Author

This class can define user permissions with bitwise operations.

It can define several types of user permissions as numbers that have one bit set like User, NormalAdmin, SysAdmin, Reading, Writing, ToAuthorize, Management, ContentManagement, Operator, SubOperator and Accounting.

The class can perform bitwise operations with different sets of permissions like and, or, xor, not and minus.

Picture of Mahmut Namli
  Performance   Level  
Name: Mahmut Namli <contact>
Classes: 2 packages by
Country: Turkey Turkey

  Files folder image Files (2)  
File Role Description
Files folder imagebitwise (2 files)

  Files folder image Files (2)  /  bitwise  
File Role Description
  Accessible without login Plain text file index.php Example string.bitwise file examples
  Plain text file string.bitwise.php Class string.bitwise class 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:193
This week:0
All time:8,556
This week:36Up