ILIAS
trunk Revision v12.0_alpha-1338-g8f7e531aa3c
◀ 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 Wed Apr 29 2026 23:03:31 for ILIAS by
1.9.4 (using
Doxyfile
)