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
Internal
Return values
bool

getRecord()

public getRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTable()

public getTable() : string
Return values
string

isPropagationStopped()

public isPropagationStopped() : bool
Return values
bool

setAccessGranted()

public setAccessGranted(bool $accessGranted) : void
Parameters
$accessGranted : bool

updateRecord()

public updateRecord(array<string|int, mixed> $record) : void
Parameters
$record : array<string|int, mixed>

        
On this page

Search results