19 declare(strict_types=1);
46 return self::DB_TABLE_NAME;
51 return "/campusconnect/glossaries";
61 $this->availability_type = $a_type;
84 $query =
"SELECT * FROM " . self::DB_TABLE_NAME .
85 " WHERE obj_id = " . $ilDB->quote($a_obj_id,
'integer') .
" ";
86 $res = $ilDB->query($query);
88 switch ($row->availability_type) {
89 case self::ACTIVATION_ONLINE:
92 case self::ACTIVATION_OFFLINE:
104 $a_fields[
"availability_type"] = array(
"integer", 0);
119 $this->
setAvailabilityType($ecs_content->availability ==
'online' ? self::ACTIVATION_ONLINE : self::ACTIVATION_OFFLINE);
doUpdateCustomFields(array &$a_fields)
Remote glossary app class.
doCreateCustomFields(array &$a_fields)
setAvailabilityType($a_type)
Set Availability type.
updateCustomFromECSContent(ilECSSetting $a_server, $ecs_content)
Remote object app base class.
getAvailabilityType()
get availability type
doReadCustomFields($a_row)
static _lookupOnline($a_obj_id)
Lookup online.