4 include_once(
'Services/WebServices/ECS/classes/class.ilRemoteObjectBase.php');
36 return "/campusconnect/learningmodules";
46 $this->availability_type = $a_type;
69 $query =
"SELECT * FROM ".self::DB_TABLE_NAME.
70 " WHERE obj_id = ".$ilDB->quote($a_obj_id ,
'integer').
" ";
73 switch(
$row->availability_type)
75 case self::ACTIVATION_ONLINE:
78 case self::ACTIVATION_OFFLINE:
90 $a_fields[
"availability_type"] = array(
"integer", 0);
105 $this->
setAvailabilityType($a_ecs_content->availability ==
'online' ? self::ACTIVATION_ONLINE : self::ACTIVATION_OFFLINE);