Menu

## RestrictionSet
in package

RestrictionSet.php : 14

Defines a set of restrictions or rights to access pages and specific actions on pages. The $type 'allow-all' or 'deny-all' defines its behavior. A RestrictionSet belongs to a User.

### Table of Contents

__construct() : mixed
  Creates new set of restrictions (permissions).

### Methods

#### __construct()

RestrictionSet.php : 26

Creates new set of restrictions (permissions).

`public __construct(string $type[, array<string|int, RestrictionSetEntry> $entries = [] ]) : mixed`

##### Parameters

$type : string

  'allow-all' = allow everything except the entries you define, 'deny-all' = deny everything except the entries you define

$entries : array<string|int, RestrictionSetEntry> = []

  Array of entires

##### Return values

mixed —

## Search results