ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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  {
36  parent::__construct($dic);
37  $this->mainmenu = $this->globalScreen()->mainmenu();
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 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:16