ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Factory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Menu
;
22
23
use
ILIAS\UI\Component\Menu
as
IMenu
;
24
use
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
;
25
26
class
Factory
implements
IMenu\Factory
27
{
28
protected
SignalGeneratorInterface
$signal_generator
;
29
30
public
function
__construct
(
SignalGeneratorInterface
$signal_generator)
31
{
32
$this->signal_generator = $signal_generator;
33
}
34
35
public
function
drilldown
(
string
$label, array $items):
Drilldown
36
{
37
return
new
Drilldown
($this->signal_generator, $label, $items);
38
}
39
40
public
function
sub
(
string
$label, array $items):
Sub
41
{
42
return
new
Sub
($label, $items);
43
}
44
}
ILIAS\UI\Implementation\Component\Menu\Drilldown
Drilldown Menu Control.
Definition:
Drilldown.php:33
ILIAS\UI\Implementation\Component\Menu\Factory\sub
sub(string $label, array $items)
Definition:
Factory.php:40
ILIAS\UI\Implementation\Component\Menu\Factory\$signal_generator
SignalGeneratorInterface $signal_generator
Definition:
Factory.php:28
ILIAS\UI\Implementation\Component\Menu\Factory\__construct
__construct(SignalGeneratorInterface $signal_generator)
Definition:
Factory.php:30
ILIAS\UI\Implementation\Component\Menu\Factory\drilldown
drilldown(string $label, array $items)
Definition:
Factory.php:35
ILIAS\UI\Implementation\Component\Menu\Sub
Level of Drilldown Control.
Definition:
Sub.php:29
ILIAS\UI\Component\Divider\Factory
Divider Factory.
Definition:
Factory.php:27
ILIAS\UI\Component\Input\Field\Factory
This is what a factory for input fields looks like.
Definition:
Factory.php:31
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
Definition:
SignalGeneratorInterface.php:29
ILIAS\UI\Component\Menu
Definition:
Drilldown.php:21
ILIAS\UI\Implementation\Component\Menu
Definition:
Drilldown.php:21
components
ILIAS
UI
src
Implementation
Component
Menu
Factory.php
Generated on Sat Oct 18 2025 23:02:24 for ILIAS by
1.9.4 (using
Doxyfile
)