ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilObjLearningSequenceListGUI.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
9{
10 public function __construct()
11 {
12 parent::__construct();
13
14 $dic = $this->getDIC();
16 $this->lng = $dic->language();
17 $this->lng->loadLanguageModule($obj_type);
18 }
19
20 protected function getDIC() : ILIAS\DI\Container
21 {
22 global $DIC;
23 return $DIC;
24 }
25
26 public function init()
27 {
28 $this->static_link_enabled = true;
29 $this->delete_enabled = true;
30 $this->cut_enabled = true;
31 $this->info_screen_enabled = true;
32 $this->copy_enabled = true;
33 $this->subscribe_enabled = false;
34 $this->link_enabled = true;
35 $this->gui_class_name = "ilobjlearningsequencegui";
38 }
39
40 public function getProperties()
41 {
42 $props = parent::getProperties();
43
44 if (ilObjLearningSequenceAccess::isOffline($this->ref_id)) {
45 $props[] = array("alert" => true, "property" => $this->lng->txt("status"),
46 "value" => $this->lng->txt("offline"));
47 }
48
49 return $props;
50 }
51}
An exception for terminatinating execution or to throw for unit testing.
Class ilObjLearningSequenceListGUI.
Class ilObjectListGUI.
Class HTTPServicesTest.
Class BaseForm.
global $DIC
Definition: saml.php:7