19declare(strict_types=1);
35 public function __construct($a_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a_parent_node_id = 0)
39 $this->
lng->loadLanguageModule(
'rglo');
49 $a_info->
addProperty($this->
lng->txt(
'ecs_availability'), $this->availabilityToString());
54 switch ($this->
object->getAvailabilityType()) {
56 return $this->
lng->txt(
'offline');
59 return $this->
lng->txt(
'online');
67 $radio_grp->setValue($this->
object->getAvailabilityType());
68 $radio_grp->setDisabled(
true);
71 $radio_grp->addOption($radio_opt);
74 $radio_grp->addOption($radio_opt);
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
addCustomInfoFields(ilInfoScreenGUI $a_info)
Add custom fields to info screen.
addCustomEditForm(ilPropertyFormGUI $a_form)
Add custom fields to edit form.
getType()
Functions that must be overwritten.
__construct($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
This class represents an option in a radio group.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc