ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjLearningSequenceListGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21declare(strict_types=1);
22
24{
25 public function __construct()
26 {
28
29 $dic = $this->getDIC();
31 $this->lng = $dic->language();
32 $this->lng->loadLanguageModule($obj_type);
33 }
34
35 protected function getDIC(): ILIAS\DI\Container
36 {
37 global $DIC;
38 return $DIC;
39 }
40
41 public function init(): void
42 {
43 $this->static_link_enabled = true;
44 $this->delete_enabled = true;
45 $this->cut_enabled = true;
46 $this->info_screen_enabled = true;
47 $this->copy_enabled = true;
48 $this->subscribe_enabled = true;
49 $this->link_enabled = true;
50 $this->gui_class_name = "ilobjlearningsequencegui";
53 }
54
55 public function createDefaultCommand(array $command): array
56 {
57 return [
58 "link" => ilLink::_getStaticLink($this->ref_id, $this->type, true),
59 "frame" => "_top"
60 ];
61 }
62}
createDefaultCommand(array $command)
Get default command link Overwritten for e.g categories,courses => they return a goto link If search ...
$dic
Definition: ltiresult.php:33
Class HTTPServicesTest.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26