ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Static Public Member Functions | |
static | _checkTranslate () |
Permission check for translations. More... | |
static | _checkMaintenance () |
Permission check for language maintenance (import/export) More... | |
static | _lookupLangFolderRefId () |
Lookup the ref_id of the global language folder. More... | |
static | _lookupId ($a_key) |
Lookup the object ID for a language key. More... | |
static | _getTranslationLink () |
Get the link to translate the current page. More... | |
static | _isPageTranslation () |
Check if the current request is a page translation. More... | |
static | _saveUsages () |
Store the collected language variable usages in the user session This should be called as late as possible in a request. More... | |
static | _getSavedModules () |
Get the stored modules from the user session. More... | |
static | _getSavedTopics () |
Get the stored topics from the user session. More... | |
Static Protected Attributes | |
static | $cached_check_translate |
Definition at line 17 of file class.ilObjLanguageAccess.php.
|
static |
Permission check for language maintenance (import/export)
static
Definition at line 72 of file class.ilObjLanguageAccess.php.
References $DIC, $ilSetting, and $ilUser.
Referenced by ilObjLanguageExtGUI\executeCommand().
|
static |
Permission check for translations.
This check is used for displaying the translation link on each page
static
Definition at line 36 of file class.ilObjLanguageAccess.php.
References $DIC, $ilSetting, $ilUser, and $lng.
Referenced by ilCOPageGlobalTemplate\fillFooter(), ilRTEGlobalTemplate\fillFooter(), ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), and ILIAS\UICore\PageContentProvider\getFooterModification().
|
static |
Get the stored modules from the user session.
Definition at line 177 of file class.ilObjLanguageAccess.php.
References $_SESSION.
Referenced by ilObjLanguageExtGUI\initAddNewEntryForm(), and ilObjLanguageExtGUI\viewObject().
|
static |
Get the stored topics from the user session.
Definition at line 188 of file class.ilObjLanguageAccess.php.
References $_SESSION.
Referenced by ilObjLanguageExtGUI\initAddNewEntryForm(), and ilObjLanguageExtGUI\viewObject().
|
static |
Get the link to translate the current page.
Definition at line 130 of file class.ilObjLanguageAccess.php.
Referenced by ilCOPageGlobalTemplate\fillFooter(), ilRTEGlobalTemplate\fillFooter(), ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), and ILIAS\UICore\PageContentProvider\getFooterModification().
|
static |
Check if the current request is a page translation.
The page translation mode is used when the translation of a single page is called by the translation link on a page footer. On this screen only the topics stored from the calling page are shown for translation and only a save function for these topics is offered.
Definition at line 151 of file class.ilObjLanguageAccess.php.
References $_GET.
Referenced by ilLanguageExtTableGUI\__construct(), ilObjLanguageExtGUI\addAdminLocatorItems(), ilRTEGlobalTemplate\fillFooter(), ilCOPageGlobalTemplate\fillFooter(), ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), ilObjLanguageExtGUI\getAdminTabs(), ILIAS\UICore\PageContentProvider\getFooterModification(), ilLanguageExtTableGUI\initFilter(), ilObjLanguageExtGUI\setTitleAndDescription(), and ilObjLanguageExtGUI\viewObject().
|
static |
Lookup the object ID for a language key.
string | language key |
integer | language object id |
Definition at line 111 of file class.ilObjLanguageAccess.php.
Referenced by ilObjLanguageExtGUI\__construct().
|
static |
Lookup the ref_id of the global language folder.
Definition at line 92 of file class.ilObjLanguageAccess.php.
|
static |
Store the collected language variable usages in the user session This should be called as late as possible in a request.
Definition at line 161 of file class.ilObjLanguageAccess.php.
References $_SESSION, $DIC, and $lng.
Referenced by ilCOPageGlobalTemplate\getSpecial(), ilRTEGlobalTemplate\getSpecial(), ilDataCollectionGlobalTemplate\getSpecial(), ilGlobalTemplate\getSpecial(), ilGlobalPageTemplate\printToStdout(), ilCOPageGlobalTemplate\printToStdout(), ilRTEGlobalTemplate\printToStdout(), ilDataCollectionGlobalTemplate\printToStdout(), ILIAS\ResourceStorage\Services\UICore\MetaTemplate\PageContentGUI\renderPage(), and ilGlobalTemplate\renderPage().
|
staticprotected |
Definition at line 23 of file class.ilObjLanguageAccess.php.