RecordAccessGrantedEvent

final class \TYPO3\CMS\Core\Domain\Access\RecordAccessGrantedEvent

Implements
StoppableEventInterface

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
getTable()  : string
isPropagationStopped()  : bool
setAccessGranted()  : void
updateRecord()  : void

Methods

__construct()

public __construct(string $tableName, array $record, Context $context) : mixed

Parameters

$tableName : string
$record : array
$context : Context

accessGranted()

public accessGranted() : bool

Return values

bool

getRecord()

public getRecord() : array

Return values

array

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 $record) : void

Parameters

$record : array
On this page