Lang
in package
FinalYes
Table of Contents
Methods
- getCurrentLanguageName() : string
- getModuleLangAsObject() : object
- Returns the array of translations for the current language.
- getNotificationLang() : array<string|int, mixed>|stdClass
- text() : mixed
Methods
getCurrentLanguageName()
public
static getCurrentLanguageName() : string
Return values
stringgetModuleLangAsObject()
Returns the array of translations for the current language.
public
static getModuleLangAsObject() : object
If the module has no language set, the default is of the WHMCS.
If the default WHMCS language is not disponible, then the default language is english.
Tags
Return values
objectgetNotificationLang()
public
static getNotificationLang(string $notifFolderPath[, bool $asObject = false ]) : array<string|int, mixed>|stdClass
Parameters
- $notifFolderPath : string
- $asObject : bool = false
Return values
array<string|int, mixed>|stdClasstext()
public
static text(string $key) : mixed
Parameters
- $key : string