Login   Register  
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 (8 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 146 All time: 7,444 This week: 1,492Up
Version License PHP version Categories  
string_bitwise 0.10GNU General Public Lice...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: 24
All time rank: 258143 in Turkey Turkey
Week rank: 1677 Up38 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:146All time:7,444
 This week:0This week:1,492Up