ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
trait.ilBibliographicSecureString.php
Go to the documentation of this file.
1
<?php
2
22
trait ilBibliographicSecureString
23
{
24
protected
function
secure(
string
$string): string
25
{
26
return
htmlspecialchars(
27
strip_tags(
28
preg_replace(
'#\p{C}+#u'
,
''
, $string) ??
''
29
),
30
ENT_QUOTES,
31
'UTF-8'
,
32
false
33
);
34
}
35
}
components
ILIAS
Bibliographic
classes
trait.ilBibliographicSecureString.php
Generated on Sat Oct 18 2025 23:02:37 for ILIAS by
1.9.4 (using
Doxyfile
)