4 include_once(
'Services/WebServices/ECS/classes/class.ilRemoteObjectBaseGUI.php');
19 public function __construct($a_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a_parent_node_id = 0)
23 $this->lng->loadLanguageModule(
'rcrs');
24 $this->lng->loadLanguageModule(
'crs');
39 switch($this->object->getAvailabilityType())
42 return $this->lng->txt(
'offline');
45 return $this->lng->txt(
'crs_unlimited');
58 $radio_grp->
setValue($this->object->getAvailabilityType());
59 $radio_grp->setDisabled(
true);
62 $radio_grp->addOption($radio_opt);
65 $radio_grp->addOption($radio_opt);
73 $start->setShowTime(
true);
77 $end->setDisabled(
true);
78 $end->setShowTime(
true);
79 $radio_opt->addSubItem($end);
81 $radio_grp->addOption($radio_opt);