RecordAccessGrantedEvent implements StoppableEventInterface
FinalYes
Event to modify records to be checked against "enableFields".
Listeners are able to grant access or to modify the record itself to continue to use the native access check functionality with a modified dataset.
Table of Contents
Interfaces
- StoppableEventInterface
 
Methods
- __construct() : mixed
 - accessGranted() : bool
 - getContext() : Context
 - getRecord() : array<string|int, mixed>
 - getTable() : string
 - isPropagationStopped() : bool
 - setAccessGranted() : void
 - updateRecord() : void
 
Methods
__construct()
    public
                    __construct(string $tableName, array<string|int, mixed> $record, Context $context) : mixed
    Parameters
- $tableName : string
 - $record : array<string|int, mixed>
 - $context : Context
 
accessGranted()
    public
                    accessGranted() : bool
    Return values
boolgetContext()
    public
                    getContext() : Context
    Return values
ContextgetRecord()
    public
                    getRecord() : array<string|int, mixed>
    Return values
array<string|int, mixed>getTable()
    public
                    getTable() : string
    Return values
stringisPropagationStopped()
    public
                    isPropagationStopped() : bool
    Return values
boolsetAccessGranted()
    public
                    setAccessGranted(bool $accessGranted) : void
    Parameters
- $accessGranted : bool
 
updateRecord()
    public
                    updateRecord(array<string|int, mixed> $record) : void
    Parameters
- $record : array<string|int, mixed>