ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
AbstractStaticMainMenuProvider.php
Go to the documentation of this file.
2
8
15{
16
20 protected $dic;
24 protected $if;
28 protected $mainmenu;
29
30
34 public function __construct(Container $dic)
35 {
37 $this->mainmenu = $this->globalScreen()->mainBar();
38 $this->if = $this->globalScreen()->identification()->core($this);
39 }
40
41
45 public function getAllIdentifications() : array
46 {
47 $ids = [];
48 foreach ($this->getStaticTopItems() as $slate) {
49 $ids[] = $slate->getProviderIdentification();
50 }
51 foreach ($this->getStaticSubItems() as $entry) {
52 $ids[] = $entry->getProviderIdentification();
53 }
54
55 return $ids;
56 }
57
58
63 {
64 return new TypeInformationCollection();
65 }
66}
An exception for terminatinating execution or to throw for unit testing.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:18
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc