4 include_once(
'Services/WebServices/ECS/classes/class.ilRemoteObjectBase.php');
35 return self::DB_TABLE_NAME;
40 return "/campusconnect/groups";
50 $this->availability_type =
$a_type;
70 $this->start = $a_time;
113 $query =
"SELECT * FROM ".self::DB_TABLE_NAME.
114 " WHERE obj_id = ".$ilDB->quote($a_obj_id ,
'integer').
" ";
117 switch(
$row->availability_type)
119 case self::ACTIVATION_UNLIMITED:
122 case self::ACTIVATION_OFFLINE:
125 case self::ACTIVATION_LIMITED:
137 $a_fields[
"availability_type"] =
array(
"integer", 0);
138 $a_fields[
"availability_start"] =
array(
"integer", 0);
139 $a_fields[
"availability_end"] =
array(
"integer", 0);
getEndingTime()
get ending time
setAvailabilityType($a_type)
Set Availability type.
static _lookupOnline($a_obj_id)
Lookup online.
getAvailabilityType()
get availability type
getStartingTime()
get starting time
doReadCustomFields($a_row)
doUpdateCustomFields(array &$a_fields)
Remote object app base class.
const ACTIVATION_OFFLINE
Fixed activation.
Create styles array
The data for the language used.
setEndingTime($a_time)
set ending time
updateCustomFromECSContent(ilECSSetting $a_server, $a_ecs_content)
doCreateCustomFields(array &$a_fields)
const ACTIVATION_UNLIMITED
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
setStartingTime($a_time)
set starting time