Метод |
Описание |
|
addLanguagesManagerToOtherTopBar ( &$str ) |
Adds the languages drop-down list to topbars other than the main one rendered
in CoreHome/templates/top_bar.twig. The 'other' topbars are on the Installation
and CoreUpdater screens. |
|
deleteUserLanguage ( $userLogin ) |
|
|
getJsFiles ( &$jsFiles ) |
|
|
getLanguageCodeForCurrentUser ( ) : string |
|
|
getLanguageForSession ( ) : string | null |
Returns the language for the session |
|
getLanguageNameForCurrentUser ( ) : string |
|
|
getLanguagesSelector ( ) : string |
Renders and returns the language selector HTML. |
|
initLanguage ( ) |
|
|
install ( ) |
|
|
jsGlobalVariables ( &$str ) |
Adds the languages drop-down list to topbars other than the main one rendered
in CoreHome/templates/top_bar.twig. The 'other' topbars are on the Installation
and CoreUpdater screens. |
|
registerEvents ( ) |
|
|
setLanguageForSession ( string $languageCode ) : boolean |
Set the language for the session |
|
uninstall ( ) |
|
|
uses12HourClockForCurrentUser ( ) : boolean |
|
|