30     public function init(): void
    34         $this->static_link_enabled = 
true;
    35         $this->delete_enabled = 
true;
    36         $this->cut_enabled = 
true;
    37         $this->copy_enabled = 
true;
    38         $this->subscribe_enabled = 
true;
    39         $this->link_enabled = 
true;
    40         $this->info_screen_enabled = 
true;
    42         $this->gui_class_name = 
"ilobjlearningmodulegui";
    52         $this->
lng->loadLanguageModule(
"copg");
    56         $this->reading_time_manager = new \ILIAS\LearningModule\ReadingTime\ReadingTimeManager();
    61         $this->child_id = $a_child_id;
    90             case "learningProgress":
    93                     [ilLMPresentationGUI::class, ilLearningProgressGUI::class   ],
   154         $props = parent::getProperties();
   157             $props[] = array(
"alert" => 
false, 
"property" => 
$lng->
txt(
"type"),
   161         $est_reading_time = $this->reading_time_manager->getReadingTime($this->obj_id);
   162         if (!is_null($est_reading_time)) {
   165                 "property" => 
$lng->
txt(
"copg_est_reading_time"),
   166                 "value" => sprintf(
$lng->
txt(
"copg_x_minutes"), $est_reading_time)
 setParameterByClass(string $a_class, string $a_parameter, $a_value)
Sets a parameter for the given GUI class and appends the given value as well. 
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setChildId(string $a_child_id)
 
checkAccess(string $a_operations, int $a_ref_id, string $a_type="")
checkAccess represents the main method of the RBAC-system in ILIAS3 developers want to use With this ...
 
static isInfoEnabled(int $obj_id)
 
PresentationGUIRequest $request
 
checkInfoPageOnAsynchronousRendering()
 
enableLearningProgress(bool $enabled)
 
getLinkTargetByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
Returns a link target for the given information. 
 
getCommandLink(string $cmd)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getCommandFrame(string $cmd)
 
ILIAS LearningModule ReadingTime ReadingTimeManager $reading_time_manager