ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
SecureString.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ResourceStorage\Preloader
;
22
29
trait
SecureString
30
{
31
protected
function
secure(
string
$string): string
32
{
33
return
htmlspecialchars(
34
strip_tags(
35
preg_replace(
'#\p{C}+#u'
,
''
, $string)
36
),
37
ENT_QUOTES,
38
'UTF-8'
,
39
false
40
);
41
}
42
}
ILIAS\ResourceStorage\Preloader
Definition:
DBRepositoryPreloader.php:21
SecureString
src
ResourceStorage
Preloader
SecureString.php
Generated on Tue Sep 2 2025 22:02:56 for ILIAS by
1.8.13 (using
Doxyfile
)