Menu

## RestrictionSetEntry
in package

RestrictionSetEntry.php : 19

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.

### Table of Contents

ALLOWED_ACTIONS = ['list', 'card', 'create', 'update', 'delete', 'export', 'chart', '']
$action : mixed
$pageId : mixed
__construct() : mixed
  Constructor

### Constants

#### ALLOWED_ACTIONS

RestrictionSetEntry.php : 21
`public mixed ALLOWED_ACTIONS = ['list', 'card', 'create', 'update', 'delete', 'export', 'chart', '']`

##### Tags

internal

### Properties

#### $action

RestrictionSetEntry.php : 23
`public mixed $action = ''`

##### Tags

internal

#### $pageId

RestrictionSetEntry.php : 24
`public mixed $pageId = ''`

##### Tags

internal

### Methods

#### __construct()

RestrictionSetEntry.php : 31

Constructor

`public __construct(string $action, string $pageId) : mixed`

##### Parameters

$action : string

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

$pageId : string

##### Return values

mixed —

## Search results