54 if (!$ilSetting->get(
"lang_ext_maintenance")
55 or !$ilSetting->get(
"lang_translate_".$lng->getLangKey()))
63 return $rbacsystem->checkAccess(
"read,write", (
int)
$ref_id);
81 if (!$ilSetting->get(
"lang_ext_maintenance"))
89 return $rbacsystem->checkAccess(
"read,write", (
int)
$ref_id);
105 $q =
"SELECT ref_id FROM object_reference r, object_data d".
106 " WHERE r.obj_id = d.obj_id AND d.type = ".$ilDB->quote(
"lngf",
"text");
107 $set = $ilDB->query($q);
108 $row = $ilDB->fetchAssoc($set);
109 return $row[
'ref_id'];
124 $q =
"SELECT obj_id FROM object_data ".
125 " WHERE type = ".$ilDB->quote(
"lng",
"text").
126 " AND title = ".$ilDB->quote($a_key,
"text");
127 $set = $ilDB->query($q);
128 $row = $ilDB->fetchAssoc($set);
129 return $row[
'obj_id'];