35        $rbacsystem = 
$DIC->rbac()->system();
 
   43            return $rbacsystem->checkAccess(
"read,write", (
int) $ref_id);
 
   61        $rbacsystem = 
$DIC->rbac()->system();
 
   65            return $rbacsystem->checkAccess(
"read,write", (
int) $ref_id);
 
   81        $q = 
"SELECT ref_id FROM object_reference r, object_data d" .
 
   82        " WHERE r.obj_id = d.obj_id AND d.type = " . 
$ilDB->quote(
"lngf", 
"text");
 
   83        $set = 
$ilDB->query($q);
 
   85        return $row[
'ref_id'];
 
  100        $q = 
"SELECT obj_id FROM object_data " .
 
  101        " WHERE type = " . 
$ilDB->quote(
"lng", 
"text") .
 
  102        " AND title = " . 
$ilDB->quote($a_key, 
"text");
 
  103        $set = 
$ilDB->query($q);
 
  105        return $row[
'obj_id'];
 
  119        . 
"&baseClass=ilAdministrationGUI" 
  120        . 
"&cmdClass=ilobjlanguageextgui" 
  121        . 
"&view_mode=translate" 
  122        . 
"&reset_offset=true";
 
  137        return (strtolower(
$_GET[
'cmdClass'] == 
'ilobjlanguageextgui') and 
$_GET[
'view_mode'] == 
"translate");
 
  149        $_SESSION[
'lang_ext_maintenance'][
'used_modules'] = array_keys(
$lng->getUsedModules());
 
  150        $_SESSION[
'lang_ext_maintenance'][
'used_topics'] = array_keys(
$lng->getUsedTopics());
 
  160        $saved = 
$_SESSION[
'lang_ext_maintenance'][
'used_modules'];
 
  161        return is_array($saved) ? $saved : array();
 
  171        $saved = 
$_SESSION[
'lang_ext_maintenance'][
'used_topics'];
 
  172        return is_array($saved) ? $saved : array();
 
An exception for terminatinating execution or to throw for unit testing.
static _getSavedTopics()
Get the stored topics from the user session.
static _lookupId($a_key)
Lookup the object ID for a language key.
static _getSavedModules()
Get the stored modules from the user session.
static _saveUsages()
Store the collected usages in the user session.
static _checkMaintenance()
Permission check for language maintenance (import/export)
static _lookupLangFolderRefId()
Lookup the ref_id of the global language folder.
static _checkTranslate()
Permission check for translations.
static _isPageTranslation()
Check if the current request is a page translation.
static _getTranslationLink()
Get the link to translate the current page.