18 declare(strict_types=1);
    33     public function __construct($a_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a_parent_node_id = 0)
    37         $this->
lng->loadLanguageModule(
'rcrs');
    38         $this->
lng->loadLanguageModule(
'crs');
    53         switch ($this->
object->getAvailabilityType()) {
    55                 return $this->
lng->txt(
'offline');
    58                 return $this->
lng->txt(
'crs_unlimited');
    72         $radio_grp->
setValue((
string) $this->
object->getAvailabilityType());
    73         $radio_grp->setDisabled(
true);
    76             $this->
lng->txt(
'crs_visibility_unvisible'),
    79         $radio_grp->addOption($radio_opt);
    82             $this->
lng->txt(
'crs_visibility_limitless'),
    85         $radio_grp->addOption($radio_opt);
    89             $this->
lng->txt(
'crs_visibility_until'),
    95         $start->setDisabled(
true);
    96         $start->setShowTime(
true);
    97         $radio_opt->addSubItem($start);
   100         $end->setDisabled(
true);
   101         $end->setShowTime(
true);
   102         $radio_opt->addSubItem($end);
   104         $radio_grp->addOption($radio_opt);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section 
 
addCustomEditForm(ilPropertyFormGUI $a_form)
 
addCustomInfoFields(ilInfoScreenGUI $a_info)
 
Interface ilCtrlBaseClassInterface describes ilCtrl base classes. 
 
const ACTIVATION_UNLIMITED
 
static formatPeriod(ilDateTime $start, ilDateTime $end, bool $a_skip_starting_day=false)
Format a period of two dates Shows: 14. 
 
__construct($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)