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