ILIAS
Release_5_0_x_branch Revision 61816
|
Static Public Member Functions | |
static | _checkTranslate () |
Permission check for translations. | |
static | _checkMaintenance () |
Permission check for language maintenance (import/export) | |
static | _lookupLangFolderRefId () |
Lookup the ref_id of the global language folder. | |
static | _lookupId ($a_key) |
Lookup the object ID for a language key. | |
static | _getTranslationLink () |
Get the link to translate the current page. | |
static | _isPageTranslation () |
Check if the current request is a page translation. | |
static | _saveUsages () |
Store the collected usages in the user session. | |
static | _getSavedModules () |
Get the stored modules from the user session. | |
static | _getSavedTopics () |
Get the stored topics from the user session. |
Definition at line 17 of file class.ilObjLanguageAccess.php.
|
static |
Permission check for language maintenance (import/export)
static
Definition at line 57 of file class.ilObjLanguageAccess.php.
References $ilSetting, $ilUser, $ref_id, and _lookupLangFolderRefId().
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 30 of file class.ilObjLanguageAccess.php.
References $ilSetting, $ilUser, $lng, $ref_id, and _lookupLangFolderRefId().
Referenced by ilTemplate\addILIASFooter().
|
static |
Get the stored modules from the user session.
Definition at line 158 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 169 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 116 of file class.ilObjLanguageAccess.php.
References _lookupLangFolderRefId().
Referenced by ilTemplate\addILIASFooter().
|
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 137 of file class.ilObjLanguageAccess.php.
References $_GET.
Referenced by ilLanguageExtTableGUI\__construct(), ilObjLanguageExtGUI\addAdminLocatorItems(), ilTemplate\addILIASFooter(), ilObjLanguageExtGUI\getAdminTabs(), 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 98 of file class.ilObjLanguageAccess.php.
Referenced by ilObjLanguageExtGUI\ilObjLanguageExtGUI().
|
static |
Lookup the ref_id of the global language folder.
Definition at line 80 of file class.ilObjLanguageAccess.php.
Referenced by _checkMaintenance(), _checkTranslate(), and _getTranslationLink().
|
static |
Store the collected usages in the user session.
Definition at line 146 of file class.ilObjLanguageAccess.php.
References $_SESSION, and $lng.
Referenced by ilTemplate\get(), and ilTemplate\show().