18 declare(strict_types=1);
45 return self::DB_TABLE_NAME;
50 return "/campusconnect/glossaries";
60 $this->availability_type = $a_type;
83 $query =
"SELECT * FROM " . self::DB_TABLE_NAME .
84 " WHERE obj_id = " . $ilDB->quote($a_obj_id,
'integer') .
" ";
87 switch ($row->availability_type) {
88 case self::ACTIVATION_ONLINE:
91 case self::ACTIVATION_OFFLINE:
103 $a_fields[
"availability_type"] = array(
"integer", 0);
118 $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.