ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilSamlIdpMetadataPurifier.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Html/interfaces/interface.ilHtmlPurifierInterface.php'
;
5
9
class
ilSamlIdpMetadataPurifier
implements
ilHtmlPurifierInterface
10
{
14
public
function
purify
($a_html)
15
{
16
return
$a_html;
17
}
18
22
public
function
purifyArray
(array $a_array_of_html)
23
{
24
foreach
($a_array_of_html as
$key
=>
$html
) {
25
$html
= $this->
purify
(
$html
);
26
$a_array_of_html[
$key
] =
$html
;
27
}
28
29
return
$a_array_of_html;
30
}
31
}
ilHtmlPurifierInterface
Interface for html sanitizing functionality.
Definition:
interface.ilHtmlPurifierInterface.php:11
ilSamlIdpMetadataPurifier\purify
purify($a_html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.public HTML snippet/document ...
Definition:
class.ilSamlIdpMetadataPurifier.php:14
ilSamlIdpMetadataPurifier\purifyArray
purifyArray(array $a_array_of_html)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.public HTML snippet/document
Definition:
class.ilSamlIdpMetadataPurifier.php:22
php
ilSamlIdpMetadataPurifier
Class ilSamlIdpMetadataPurifier.
Definition:
class.ilSamlIdpMetadataPurifier.php:9
$key
$key
Definition:
croninfo.php:18
$html
$html
Definition:
example_001.php:87
Services
Saml
classes
form
class.ilSamlIdpMetadataPurifier.php
Generated on Thu Jan 30 2025 19:02:04 for ILIAS by
1.8.13 (using
Doxyfile
)