Метод |
Описание |
|
err ( string $key, string $module = null ) : string |
Get an error from the language-file |
|
getActiveLanguages ( ) : array |
Get the active languages |
|
getCheckboxValues ( ) : array |
Get all active languages in a format usable by SpoonForm's addRadioButton |
|
getCurrentModule ( ) |
|
|
getError ( string $key, string $module = null ) : string |
Get an error from the language-file |
|
getErrors ( ) : array |
Get all the errors from the language-file |
|
getInterfaceLanguage ( ) : string |
Get the current interface language |
|
getInterfaceLanguages ( ) : array |
Get all the possible interface languages |
|
getLabel ( string $key, string $module = null ) : string |
Get a label from the language-file |
|
getLabels ( ) : array |
Get all the labels from the language-file |
|
getMessage ( string $key, string $module = null ) : string |
Get a message from the language-file |
|
getMessages ( ) : array |
Get the messages |
|
getWorkingLanguage ( ) : string |
Get the current working language |
|
getWorkingLanguages ( ) : array |
Get all possible working languages |
|
lbl ( string $key, string $module = null ) : string |
Get a label from the language-file |
|
msg ( string $key, string $module = null ) : string |
Get a message from the language-file |
|
setLocale ( string $language ) |
Set locale
It will require the correct file and init the needed vars |
|
setWorkingLanguage ( string $language ) |
Set the current working language |
|