PHP Classes
elePHPant
Icontem

Bitwise on String Operations: Define user permissions with bitwise operations

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-01-04 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 159 All time: 7,641 This week: 1,233Up
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
Name: Mahmut Namli <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: 25
All time rank: 257642 in Turkey Turkey
Week rank: 1617 Up32 in Turkey Turkey Up

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

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 0%Total:159All time:7,641
 This week:0This week:1,233Up