18 declare(strict_types=1);
45 return self::DB_TABLE_NAME;
50 return "/campusconnect/learningmodules";
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($a_ecs_content->availability ==
'online' ? self::ACTIVATION_ONLINE : self::ACTIVATION_OFFLINE);
static _lookupOnline($a_obj_id)
Lookup online.
getAvailabilityType()
get availability type
Remote learning module app class.
doCreateCustomFields(array &$a_fields)
updateCustomFromECSContent(ilECSSetting $a_server, $a_ecs_content)
doUpdateCustomFields(array &$a_fields)
setAvailabilityType($a_type)
Set Availability type.
Remote object app base class.
doReadCustomFields($a_row)