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

getLocalizedRecord()

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

getRecord()

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

getTable()

public getTable() : string
Return values
string

overlayingWasAttempted()

Determines if the overlay functionality happened, thus, returning the lo

public overlayingWasAttempted() : bool
Return values
bool

setLocalizedRecord()

public setLocalizedRecord(array<string|int, mixed>|null $localizedRecord) : void
Parameters
$localizedRecord : array<string|int, mixed>|null

        
On this page

Search results