35 require_once(
'./vendor/composer/vendor/autoload.php');
45 protected function setUp(): void
52 $this->assertTrue(
true);
55 $collector->collectOnce();
57 $this->assertTrue($collector->hasItems());
63 public function isItemActive(
isItem $item):
bool 80 return $item->getParent();
96 private array $p_identifications = [];
100 protected $c_identifications = [];
108 $this->type_information->add();
110 for ($x = 1; $x < 5; $x++) {
111 $this->p_identifications[
'id_' . $x] = $iff(
'id_' . $x);
112 for ($y = 1; $y < 5; $y++) {
113 $this->c_identifications[] = $iff(
'id_' . $x .
'/' . $y);
118 public function getAllIdentifications(): array
123 public function getFullyQualifiedClassName():
string 133 public function getStaticTopItems(): array
136 foreach ($this->p_identifications as $if) {
137 $items[] = $this->
factory->topParentItem($if)->withTitle($if->getInternalIdentifier());
142 public function getStaticSubItems(): array
145 foreach ($this->c_identifications as $if) {
146 $identifier = $if->getInternalIdentifier();
147 $items[] = $this->
factory->link($if)->withTitle($identifier)->withParent($this->p_identifications[strstr($identifier,
'/',
true)]);
154 return $this->type_information;
Class MainMenuMainCollector This Collector will collect and then provide all available slates from th...
Interface IdentificationInterface.
Class MainMenuItemFactory This factory provides you all available types for MainMenu GlobalScreen Ite...
Class TypeInformationCollection.
__construct()
Constructor setup ILIAS global object public.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getProviderNameForPresentation()
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Class NullProviderFactory.
Class IdentificationFactory All elements in the GlobalScreen service must be identifiable for the sup...
Interface StaticMainMenuProvider.