BeforeRecordLanguageOverlayEvent
FinalYes
Event which is fired before a record in a language should be "language overlaid", that is: Finding a translation for a given record.
Table of Contents
Methods
- __construct() : mixed
- getLanguageAspect() : LanguageAspect
- getRecord() : array<string|int, mixed>
- getTable() : string
- setLanguageAspect() : void
- setRecord() : void
Methods
__construct()
public
__construct(string $table, array<string|int, mixed> $record, LanguageAspect $languageAspect) : mixed
Parameters
- $table : string
- $record : array<string|int, mixed>
- $languageAspect : LanguageAspect
getLanguageAspect()
public
getLanguageAspect() : LanguageAspect
Return values
LanguageAspectgetRecord()
public
getRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>getTable()
public
getTable() : string
Return values
stringsetLanguageAspect()
public
setLanguageAspect(LanguageAspect $languageAspect) : void
Parameters
- $languageAspect : LanguageAspect
setRecord()
public
setRecord(array<string|int, mixed> $record) : void
Parameters
- $record : array<string|int, mixed>