21 $this->static_link_enabled =
true;
22 $this->delete_enabled =
true;
23 $this->cut_enabled =
true;
24 $this->subscribe_enabled =
false;
25 $this->link_enabled =
true;
26 $this->copy_enabled =
true;
27 $this->progress_enabled =
true;
28 $this->notice_properties_enabled =
true;
29 $this->info_screen_enabled =
true;
31 $this->gui_class_name =
"ilObjCmiXapiGUI";
35 $DIC->language()->loadLanguageModule(
'cmix');
45 $props[] = array(
"alert" =>
true,
"property" => $DIC->language()->txt(
"status"),
46 "value" => $DIC->language()->txt(
"offline"));
50 'alert' =>
false,
'property' => $DIC->language()->txt(
'type'),
51 'value' => $DIC->language()->txt(
'obj_cmix')
55 if ($validator->isCertificateDownloadable((
int) $DIC->user()->getId(), (int) $this->obj_id)) {
56 $DIC->ctrl()->setParameterByClass(ilCmiXapiSettingsGUI::class,
'ref_id', $this->ref_id);
58 $certLink = $DIC->ui()->factory()->link()->standard(
59 $DIC->language()->txt(
'download_certificate'),
60 $DIC->ctrl()->getLinkTargetByClass(
61 [ilObjCmiXapiGUI::class, ilCmiXapiSettingsGUI::class],
67 'alert' =>
false,
'property' => $DIC->language()->txt(
'certificate'),
68 'value' => $DIC->ui()->renderer()->render($certLink)
79 $a_cmd = explode(
'::', $a_cmd);
81 if (count($a_cmd) == 2) {
82 $cmd_link = $ilCtrl->getLinkTargetByClass(array(
'ilRepositoryGUI',
'ilObjCmiXapiGUI', $a_cmd[0]), $a_cmd[1]);
84 $cmd_link = $ilCtrl->getLinkTargetByClass(array(
'ilRepositoryGUI',
'ilObjCmiXapiGUI'), $a_cmd[0]);
const CMD_DELIVER_CERTIFICATE
static _isOffline($a_obj_id)
Type-specific implementation of general status, has to be overwritten if object type does not support...
Validates if an active certificate is stored in the database and can be downloaded by the user...