ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
ILIAS\Exercise\UIUtil Class Reference
+ Collaboration diagram for ILIAS\Exercise\UIUtil:

Public Member Functions

 __construct ()
 
 formatTextInput (string $text)
 

Detailed Description

Definition at line 30 of file UIUtil.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\UIUtil::__construct ( )

Definition at line 32 of file UIUtil.php.

33 {
34 }

Member Function Documentation

◆ formatTextInput()

ILIAS\Exercise\UIUtil::formatTextInput ( string  $text)

Definition at line 36 of file UIUtil.php.

36 : string
37 {
39 if (!str_contains($text, "<p>")) {
40 $text = nl2br($text);
41 }
42 return $text;
43 }
static _replaceMediaObjectImageSrc(string $a_text, int $a_direction=0, string $nic='')
Replaces image source from mob image urls with the mob id or replaces mob id with the correct image s...
$text
Definition: xapiexit.php:21

References $text, and ilRTE\_replaceMediaObjectImageSrc().

+ Here is the call graph for this function:

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