AfterRecordLanguageOverlayEvent
FinalYes
Event which is fired after a record was translated (or tried to be localized).
Table of Contents
Methods
- __construct() : mixed
- getLanguageAspect() : LanguageAspect
- getLocalizedRecord() : array<string|int, mixed>|null
- getRecord() : array<string|int, mixed>
- getTable() : string
- overlayingWasAttempted() : bool
- Determines if the overlay functionality happened, thus, returning the lo
- setLocalizedRecord() : void
Methods
__construct()
public
__construct(string $table, array<string|int, mixed> $record, array<string|int, mixed>|null $localizedRecord, bool $overlayingWasAttempted, LanguageAspect $languageAspect) : mixed
Parameters
- $table : string
- $record : array<string|int, mixed>
- $localizedRecord : array<string|int, mixed>|null
- $overlayingWasAttempted : bool
- $languageAspect : LanguageAspect
getLanguageAspect()
public
getLanguageAspect() : LanguageAspect
Return values
LanguageAspectgetLocalizedRecord()
public
getLocalizedRecord() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetRecord()
public
getRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>getTable()
public
getTable() : string
Return values
stringoverlayingWasAttempted()
Determines if the overlay functionality happened, thus, returning the lo
public
overlayingWasAttempted() : bool
Return values
boolsetLocalizedRecord()
public
setLocalizedRecord(array<string|int, mixed>|null $localizedRecord) : void
Parameters
- $localizedRecord : array<string|int, mixed>|null