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(
'rwik');
40 $this->
lng->loadLanguageModule(
'wiki');
50 $a_info->
addProperty($this->
lng->txt(
'ecs_availability'), $this->availabilityToString());
55 switch ($this->
object->getAvailabilityType()) {
57 return $this->
lng->txt(
'offline');
60 return $this->
lng->txt(
'online');
68 $radio_grp->setValue($this->
object->getAvailabilityType());
69 $radio_grp->setDisabled(
true);
72 $radio_grp->addOption($radio_opt);
75 $radio_grp->addOption($radio_opt);
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
__construct($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
getType()
Functions that must be overwritten.
addCustomInfoFields(ilInfoScreenGUI $a_info)
Add custom fields to info screen.
addCustomEditForm(ilPropertyFormGUI $a_form)
Add custom fields to edit form.
This class represents an option in a radio group.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc