|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilObjLanguageAccess: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 (string $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 bool | $cached_check_translate |
Definition at line 34 of file class.ilObjLanguageAccess.php.
|
static |
Permission check for language maintenance (import/export)
Return whether maintenance is possible (true/false)
Definition at line 81 of file class.ilObjLanguageAccess.php.
References $DIC, $ilSetting, $ilUser, $ref_id, and _lookupLangFolderRefId().
Referenced by ilObjLanguageExtGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Permission check for translations.
This check is used for displaying the translation link on each page
Return whether translation is possible (true/false)
Definition at line 47 of file class.ilObjLanguageAccess.php.
References $cached_check_translate, $DIC, $ilSetting, $ilUser, $lng, $ref_id, and _lookupLangFolderRefId().
Referenced by ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), and ILIAS\UICore\PageContentProvider\getFooterModification().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get the stored modules from the user session.
Return list of module names
Definition at line 200 of file class.ilObjLanguageAccess.php.
References ilSession\get().
Referenced by ilObjLanguageExtGUI\initAddNewEntryForm(), and ilObjLanguageExtGUI\viewObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get the stored topics from the user session.
Return list of module names
Definition at line 215 of file class.ilObjLanguageAccess.php.
References ilSession\get().
Referenced by ilObjLanguageExtGUI\initAddNewEntryForm(), and ilObjLanguageExtGUI\viewObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get the link to translate the current page.
Return translation link
Definition at line 139 of file class.ilObjLanguageAccess.php.
References _lookupLangFolderRefId().
Referenced by ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), and ILIAS\UICore\PageContentProvider\getFooterModification().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 160 of file class.ilObjLanguageAccess.php.
References $DIC.
Referenced by ilLanguageExtTableGUI\__construct(), ilObjLanguageExtGUI\addAdminLocatorItems(), ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), ilObjLanguageExtGUI\getAdminTabs(), ILIAS\UICore\PageContentProvider\getFooterModification(), ilLanguageExtTableGUI\initFilter(), ilObjLanguageExtGUI\setTitleAndDescription(), and ilObjLanguageExtGUI\viewObject().
Here is the caller graph for this function:
|
static |
Lookup the object ID for a language key.
$a_key language key Return language object id
Definition at line 120 of file class.ilObjLanguageAccess.php.
Referenced by ilObjLanguageExtGUI\__construct().
Here is the caller graph for this function:
|
static |
Lookup the ref_id of the global language folder.
Return language folder ref_id
Definition at line 101 of file class.ilObjLanguageAccess.php.
Referenced by _checkMaintenance(), _checkTranslate(), and _getTranslationLink().
Here is the caller graph for this function:
|
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 184 of file class.ilObjLanguageAccess.php.
References $DIC, $lng, and ilSession\set().
Referenced by ilDataCollectionGlobalTemplate\printToStdout(), and ILIAS\Services\UICore\MetaTemplate\PageContentGUI\renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 36 of file class.ilObjLanguageAccess.php.
Referenced by _checkTranslate().