class LocaleEvent extends Event (View source)

Defines a Locale event.

Properties

protected string[] $langCodes

The list of Language codes for updated translations.

protected string[] $original

List of string identifiers that have been updated / created.

Methods

__construct(array $lang_codes, array $lids = [])

Constructs a new LocaleEvent.

string[]
getLangCodes()

Returns the language codes.

array
getLids()

Returns the string identifiers.

Details

__construct(array $lang_codes, array $lids = [])

Constructs a new LocaleEvent.

Parameters

array $lang_codes

Language codes for updated translations.

array $lids

(optional) List of string identifiers that have been updated / created.

string[] getLangCodes()

Returns the language codes.

Return Value

string[] $langCodes

array getLids()

Returns the string identifiers.

Return Value

array $lids