PHP Classes
elePHPant
Icontem

File: userroles_config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stefan Jibrail Froelich  >  User Roles  >  userroles_config.php  >  Download  
File: userroles_config.php
Role: Configuration script
Content type: text/plain
Description: an optional configuration file
Class: User Roles
Manage the roles of users stored as bit masks
Author: By
Last change:
Date: 3 years ago
Size: 234 bytes
 

Contents

Class file image Download
<?php


//This file should return an array

return array(
       
'read',
       
'write',
       
'edit',
       
'delete',
       
'user' => array( 'read', 'write',),
       
'mod' => array( 'read', 'write', 'edit',),
       
'admin' => array( 'mod', 'delete',),
    );