ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\UI\Help\TextRetriever\Echoing Class Reference

This HelpTextRetriever simply echo the purpose and the topics for debugging and development purpose. More...

+ Inheritance diagram for ILIAS\UI\Help\TextRetriever\Echoing:
+ Collaboration diagram for ILIAS\UI\Help\TextRetriever\Echoing:

Public Member Functions

 getHelpText (Help\Purpose $purpose, Help\Topic ... $topics)
 
- Public Member Functions inherited from ILIAS\UI\HelpTextRetriever
 getHelpText (Help\Purpose $purpose, Help\Topic ... $topics)
 Try to find according help texts for the purpose an topics. More...
 

Detailed Description

This HelpTextRetriever simply echo the purpose and the topics for debugging and development purpose.

Definition at line 30 of file Echoing.php.

Member Function Documentation

◆ getHelpText()

ILIAS\UI\Help\TextRetriever\Echoing::getHelpText ( Help\Purpose  $purpose,
Help\Topic ...  $topics 
)

Definition at line 32 of file Echoing.php.

References ILIAS\GlobalScreen\Scope\$topics.

32  : array
33  {
34  if ($purpose->isTooltip()) {
35  $purpose = "tooltip";
36  } else {
37  throw new \LogicException("Unknown purpose.");
38  }
39 
40  return array_map(
41  fn ($t) => $purpose . ": " . $t->get(),
42  $topics
43  );
44  }

The documentation for this class was generated from the following file: