|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 33 of file class.ilObjLanguageAccess.php.
|
static |
Permission check for language maintenance (import/export)
Return whether maintenance is possible (true/false)
Definition at line 80 of file class.ilObjLanguageAccess.php.
References $DIC, $ilSetting, $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 46 of file class.ilObjLanguageAccess.php.
References $cached_check_translate, $DIC, $ilSetting, $lng, $ref_id, and _lookupLangFolderRefId().
Referenced by ilFooterStandardGroupsProvider\getEntries().
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 199 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 214 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 138 of file class.ilObjLanguageAccess.php.
References _lookupLangFolderRefId().
Referenced by ilFooterStandardGroupsProvider\getEntries().
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 159 of file class.ilObjLanguageAccess.php.
References $DIC.
Referenced by ilLanguageExtTableGUI\__construct(), ilObjLanguageExtGUI\addAdminLocatorItems(), ilObjLanguageExtGUI\getAdminTabs(), ilFooterStandardGroupsProvider\getEntries(), 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 119 of file class.ilObjLanguageAccess.php.
References $DIC, $ilDB, and $q.
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 100 of file class.ilObjLanguageAccess.php.
References $DIC, $ilDB, and $q.
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 183 of file class.ilObjLanguageAccess.php.
References $DIC, $lng, and ilSession\set().
Referenced by ilDataCollectionGlobalTemplate\printToStdout(), and ILIAS\components\UICore\MetaTemplate\PageContentGUI\renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 35 of file class.ilObjLanguageAccess.php.
Referenced by _checkTranslate().