ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Drilldown.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\UI\Implementation\Component\Menu
;
22
23
use
ILIAS\UI\Component\Menu
as
IMenu
;
24
use
ILIAS\UI\Implementation\Component\JavaScriptBindable
;
25
use
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
;
26
use
ILIAS\UI\Component\Signal
;
27
31
class
Drilldown
extends
Menu
implements
IMenu\Drilldown
32
{
33
use
JavaScriptBindable
;
34
35
protected
Signal
$signal
;
36
protected
?
string
$persistence_id
= null;
37
41
public
function
__construct
(
42
SignalGeneratorInterface
$signal_generator,
43
string
$label
,
44
array
$items
45
) {
46
$this->
checkItemParameter
($items);
47
$this->label =
$label
;
48
$this->items =
$items
;
49
$this->signal = $signal_generator->
create
();
50
}
51
52
public
function
getBacklinkSignal
():
Signal
53
{
54
return
$this->signal
;
55
}
56
57
public
function
withPersistenceId
(?
string
$id
): self
58
{
59
if
(is_null($id)) {
60
return
$this;
61
}
62
$clone = clone $this;
63
$clone->persistence_id =
$id
;
64
return
$clone;
65
}
66
67
public
function
getPersistenceId
(): ?string
68
{
69
return
$this->persistence_id
;
70
}
71
}
ILIAS\UI\Implementation\Component\Menu\Drilldown
Drilldown Menu Control.
Definition:
Drilldown.php:31
ILIAS\UI\Implementation\Component\Menu\Menu
Basic Menu Control.
Definition:
Menu.php:30
ILIAS\UI\Implementation\Component\JavaScriptBindable
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Definition:
JavaScriptBindable.php:32
ILIAS\UI\Implementation\Component\Menu\Menu\checkItemParameter
checkItemParameter(array $items)
Definition:
Menu.php:60
ILIAS\UI\Implementation\Component\Menu\Drilldown\getBacklinkSignal
getBacklinkSignal()
Definition:
Drilldown.php:52
ILIAS\UI\Implementation\Component\Menu\Drilldown\$signal
Signal $signal
Definition:
Drilldown.php:35
ILIAS\UI\Implementation\Component\Menu\Menu\$label
$label
Definition:
Menu.php:37
ILIAS\UI\Implementation\Component\Menu\Drilldown\$persistence_id
string $persistence_id
Definition:
Drilldown.php:36
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
Definition:
SignalGeneratorInterface.php:28
ILIAS\UI\Implementation\Component\Menu\Drilldown\getPersistenceId
getPersistenceId()
Definition:
Drilldown.php:67
ILIAS\UI\Implementation\Component\Menu
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Drilldown.php:21
ILIAS\UI\Implementation\Component\Menu\Menu\$items
array $items
Definition:
Menu.php:42
ILIAS\UI\Implementation\Component\Menu\Drilldown\withPersistenceId
withPersistenceId(?string $id)
Definition:
Drilldown.php:57
ILIAS\UI\Component\Signal
Definition:
Signal.php:32
ILIAS\UI\Implementation\Component\SignalGeneratorInterface\create
create(string $class='')
Create a signal, each created signal MUST have a unique ID.
ILIAS\UI\Component\Menu
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Drilldown.php:21
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
SignalGeneratorInterface
ILIAS\UI\Component\Menu\Drilldown
This describes a Drilldown Menu Control.
Definition:
Drilldown.php:28
Signal
ILIAS\UI\Implementation\Component\Menu\Drilldown\__construct
__construct(SignalGeneratorInterface $signal_generator, string $label, array $items)
Definition:
Drilldown.php:41
src
UI
Implementation
Component
Menu
Drilldown.php
Generated on Wed Apr 9 2025 22:02:57 for ILIAS by
1.8.13 (using
Doxyfile
)