ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilObjLearningSequenceListGUI.php
Go to the documentation of this file.
1 <?php
2 
18 declare(strict_types=1);
19 
20 declare(strict_types=1);
21 
23 {
24  public function __construct()
25  {
27 
28  $dic = $this->getDIC();
30  $this->lng = $dic->language();
31  $this->lng->loadLanguageModule($obj_type);
32  }
33 
34  protected function getDIC(): ILIAS\DI\Container
35  {
36  global $DIC;
37  return $DIC;
38  }
39 
40  public function init(): void
41  {
42  $this->static_link_enabled = true;
43  $this->delete_enabled = true;
44  $this->cut_enabled = true;
45  $this->info_screen_enabled = true;
46  $this->copy_enabled = true;
47  $this->subscribe_enabled = true;
48  $this->link_enabled = true;
49  $this->gui_class_name = "ilobjlearningsequencegui";
50  $this->type = ilObjLearningSequence::OBJ_TYPE;
52  }
53 
54  public function createDefaultCommand(array $command): array
55  {
56  return [
57  "link" => ilLink::_getStaticLink($this->ref_id, $this->type, true),
58  "frame" => "_top"
59  ];
60  }
61 }
Interface Observer Contains several chained tasks and infos about them.
Class HTTPServicesTest.
global $DIC
Definition: shib_login.php:25
__construct(Container $dic, ilPlugin $plugin)
$dic
Definition: ltiresult.php:33