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)
21 parent::__construct($a_id, $a_id_type, $a_parent_node_id);
23 $this->lng->loadLanguageModule(
'rcrs');
24 $this->lng->loadLanguageModule(
'crs');
39 switch ($this->
object->getAvailabilityType()) {
41 return $this->lng->txt(
'offline');
44 return $this->lng->txt(
'crs_unlimited');
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);
This class represents an option in a radio group.
addCustomEditForm(ilPropertyFormGUI $a_form)
addCustomInfoFields(ilInfoScreenGUI $a_info)
addSubItem($a_item)
Add Subitem.
const ACTIVATION_UNLIMITED
static formatPeriod(ilDateTime $start, ilDateTime $end, $a_skip_starting_day=false)
Format a period of two date Shows: 14.
Create new PHPExcel object
obj_idprivate
addProperty($a_name, $a_value, $a_link="")
add a property to current section
__construct($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.