BeforeHistoryRollbackStartEvent
FinalYes
This event is fired before a history record rollback starts
Table of Contents
Methods
- __construct() : mixed
- HistoryRollbackEvent constructor.
- getBackendUserAuthentication() : BackendUserAuthentication|null
- getDiff() : array<string|int, mixed>
- getRecordHistoryRollback() : RecordHistoryRollback
- getRollbackFields() : string
Methods
__construct()
HistoryRollbackEvent constructor.
public
__construct(string $rollbackFields, array<string|int, mixed> $diff, RecordHistoryRollback $recordHistoryRollback[, BackendUserAuthentication|null $backendUserAuthentication = null ]) : mixed
Parameters
- $rollbackFields : string
- $diff : array<string|int, mixed>
- $recordHistoryRollback : RecordHistoryRollback
- $backendUserAuthentication : BackendUserAuthentication|null = null
getBackendUserAuthentication()
public
getBackendUserAuthentication() : BackendUserAuthentication|null
Return values
BackendUserAuthentication|nullgetDiff()
public
getDiff() : array<string|int, mixed>
Return values
array<string|int, mixed>getRecordHistoryRollback()
public
getRecordHistoryRollback() : RecordHistoryRollback
Return values
RecordHistoryRollbackgetRollbackFields()
public
getRollbackFields() : string