WhatsApp and Chatwoot

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
string

getModuleLangAsObject()

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
since
3.2.0
Return values
object

getNotificationLang()

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>|stdClass

text()

public static text(string $key) : mixed
Parameters
$key : string

        
On this page

Search results