RestrictionSetEntry
in package
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
- __construct() : mixed
- Constructor
Methods
__construct()
Constructor
public
__construct(string $action, string $pageId) : mixed
Parameters
- $action : string
-
Valid actions: 'list', 'card', 'create', 'update', 'delete', 'export', 'chart', ''. Empty = all
- $pageId : string