ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilHelpUITextRetriever.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\UI\Help
;
22
39
class
ilHelpUITextRetriever
implements
ILIAS\UI\HelpTextRetriever
40
{
41
public
function
getHelpText
(
Help
\
Purpose
$purpose,
Help
\
Topic
...
$topics
): array
42
{
43
global
$DIC
;
44
45
if
($purpose->isTooltip()) {
46
return
array_filter(
47
array_map(
48
fn($topic) =>
$DIC
->help()->internal()->domain()->tooltips()->getTooltipPresentationText($topic->get()),
49
$topics
50
)
51
);
52
}
53
54
return
[];
55
}
56
}
ILIAS\Help
Definition:
Help.php:24
ILIAS\UI\Help\Purpose
A purpose describes the intended use for a certain help text.
Definition:
Purpose.php:47
ILIAS\UI\Help\Topic
This is just a class that marks a string as a help topic.
Definition:
Topic.php:27
ilHelpUITextRetriever
This describes a facility that the UI framework can use to retrieve some help text.
Definition:
class.ilHelpUITextRetriever.php:40
ilHelpUITextRetriever\getHelpText
getHelpText(Help\Purpose $purpose, Help\Topic ... $topics)
Definition:
class.ilHelpUITextRetriever.php:41
ILIAS\UI\HelpTextRetriever
This describes a facility that the UI framework can use to retrieve some help text.
Definition:
HelpTextRetriever.php:40
ILIAS\GlobalScreen\Scope\$topics
array $topics
Definition:
ComponentDecoratorTrait.php:39
ILIAS\UI\Help
Definition:
Purpose.php:21
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
Help
classes
class.ilHelpUITextRetriever.php
Generated on Sat Oct 18 2025 23:03:09 for ILIAS by
1.9.4 (using
Doxyfile
)