IP.Board  3.3.0
ccsPermMappingDatabases Class Reference

Public Member Functions

 getMapping ()
 getPermColors ()
 getPermItems ()
 getPermNames ()

Protected Attributes

 $mapping
 $perm_colors
 $perm_names

Detailed Description

Database perm mapping


Member Function Documentation

Method to pull the key/column mapping

public

Returns:
array

Method to pull the key/color mapping

public

Returns:
array

Retrieve the items that support permission mapping

public

Returns:
array

Method to pull the key/name mapping

public

Returns:
array

Field Documentation

$mapping [protected]
Initial value:
 array(
                                                                'view'          => 'perm_view',
                                                                'show'          => 'perm_2',
                                                                'add'           => 'perm_3',
                                                                'edit'          => 'perm_4',
                                                                'comment'       => 'perm_5',
                                                                'rate'          => 'perm_6',
                                                        )
$perm_colors [protected]
Initial value:
 array(
                                                                'view'          => '#fff0f2',
                                                                'show'          => '#effff6',
                                                                'add'           => '#edfaff',
                                                                'edit'          => '#f0f1ff',
                                                                'comment'       => '#fffaee',
                                                                'rate'          => '#ffeef9',
                                                        )
$perm_names [protected]
Initial value:
 array(
                                                                'view'          => 'See Database',
                                                                'show'          => 'View Records',
                                                                'add'           => 'Add Records',
                                                                'edit'          => 'Edit Records',
                                                                'comment'       => 'Add Comments',
                                                                'rate'          => 'Rate Records',
                                                        )

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables