PHP Classes

File: userroles_config.php

Recommend this page to a friend!
  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: 12 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',),
    );