ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilMailTemplatePlaceholderToEmptyResolver.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilMailTemplatePlaceholderToEmptyResolver
22
{
23
public
function
resolve
(
24
string
$message
,
25
): string {
26
return
preg_replace(
27
"/({{)(\w+)(}})/"
,
28
'$2'
,
29
$message
30
);
31
}
32
}
ilMailTemplatePlaceholderToEmptyResolver
Definition:
class.ilMailTemplatePlaceholderToEmptyResolver.php:22
ilMailTemplatePlaceholderToEmptyResolver\resolve
resolve(string $message,)
Definition:
class.ilMailTemplatePlaceholderToEmptyResolver.php:23
return
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
delivery_method.php:21
$message
$message
Definition:
xapiexit.php:31
components
ILIAS
Mail
classes
class.ilMailTemplatePlaceholderToEmptyResolver.php
Generated on Sat Oct 18 2025 23:03:23 for ILIAS by
1.9.4 (using
Doxyfile
)