3 declare(strict_types=1);
    45     public function init(): void
    47         $this->copy_enabled = 
true;
    48         $this->delete_enabled = 
true;
    49         $this->cut_enabled = 
true;
    50         $this->subscribe_enabled = 
true;
    51         $this->link_enabled = 
true;
    52         $this->info_screen_enabled = 
true;
    54         $this->gui_class_name = 
"ilobjsahslearningmodulegui";
    77         $ilCtrl = $DIC->ctrl();
    81                 $cmd_link = 
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=" . 
$this->ref_id;
    85                 $cmd_link = 
"ilias.php?baseClass=ilSAHSEditGUI&ref_id=" . 
$this->ref_id;
    89                 $cmd_link = 
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=" . $this->ref_id . 
"&cmd=infoScreen";
    93                 $ilCtrl->setParameterByClass(
"ilrepositorygui", 
"ref_id", $this->ref_id);
    94                 $cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $cmd);
    95                 $ilCtrl->setParameterByClass(
"ilrepositorygui", 
"ref_id", $this->ref_id);
   143         $lng = $DIC->language();
   145         $props = parent::getProperties();
   148             $props[] = array(
"alert" => 
false, 
"property" => 
$lng->
txt(
"type"),
   153         $allowed = $certValidator->isCertificateDownloadable($this->
user->getId(), 
$this->obj_id);
   157             $cmd_link = 
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=" . $this->ref_id . 
"&cmd=downloadCertificate";
   160                 'property' => 
$lng->
txt(
'certificate'),
   161                 'value' => $DIC->ui()->renderer()->render(
   162                     $DIC->ui()->factory()->link()->standard(
$lng->
txt(
'download_certificate'), $cmd_link)
 
getProperties()
Get command target frame. 
 
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...
 
initItem(int $ref_id, int $obj_id, string $type, string $title="", string $description="")
 
loadLanguageModule(string $a_module)
Load language module. 
 
static _lookupSubType(int $a_obj_id)
lookup subtype id (scorm, ) 
 
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 _getCommands()
get commands 
 
Validates if an active certificate is stored in the database and can be downloaded by the user...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getCommandLink(string $cmd)
Overwrite this method, if link target is not build by ctrl class (e.g.