20 require_once(
'./libs/composer/vendor/autoload.php');
30 protected function setUp(): void
37 $this->assertTrue(
true);
40 $collector->collectOnce();
42 $this->assertTrue($collector->hasItems());
48 public function isItemActive(
isItem $item):
bool 65 return $item->getParent();
81 private $p_identifications;
85 protected $c_identifications;
90 $iff =
function (
string $id) use ($if) {
91 return $if->core($this)->identifier(
$id);
94 $this->p_identifications = [];
95 $this->c_identifications = [];
97 $this->type_information->add();
99 for ($x = 1; $x < 5; $x++) {
100 $this->p_identifications[
'id_' . $x] = $iff(
'id_' . $x);
101 for ($y = 1; $y < 5; $y++) {
102 $this->c_identifications[] = $iff(
'id_' . $x .
'/' . $y);
107 public function getAllIdentifications(): array
112 public function getFullyQualifiedClassName():
string 122 public function getStaticTopItems(): array
125 foreach ($this->p_identifications as $if) {
126 $items[] = $this->factory->topParentItem($if)->withTitle($if->getInternalIdentifier());
131 public function getStaticSubItems(): array
134 foreach ($this->c_identifications as $if) {
135 $identifier = $if->getInternalIdentifier();
136 $items[] = $this->factory->link($if)->withTitle($identifier)->withParent($this->p_identifications[strstr($identifier,
'/',
true)]);
143 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...
Interface hasSymbol Methods for Entries with Symbols.
getProviderNameForPresentation()
Class NullProviderFactory.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Class IdentificationFactory All elements in the GlobalScreen service must be identifiable for the sup...
Interface StaticMainMenuProvider.