\Alddesign\Crudkit\ClassesRestrictionSetEntry

Defines a single permission or restriction.

A RestrictionSetEntry belongs to a RestrictionSet. Based of $type from parent PermissionSet.

Example:

new RestrictionSetEntry('update', 'books'); //Either permit or restrict updating book records.

Summary

Methods
Properties
Constants
__construct()
$action
$pageId
ALLOWED_ACTIONS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

ALLOWED_ACTIONS

ALLOWED_ACTIONS = array('list', 'card', 'create', 'update', 'delete', 'export', 'chart', '')

Properties

$action

$action : 

Type

$pageId

$pageId : 

Type

Methods

__construct()

__construct(string  $action, string  $pageId) 

Constructor

Parameters

string $action

Valid actions: 'list', 'card', 'create', 'update', 'delete', 'export', 'chart', ''. Empty = all

string $pageId