ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSamlIdpMetadataPurifier Class Reference

Class ilSamlIdpMetadataPurifier. More...

+ Inheritance diagram for ilSamlIdpMetadataPurifier:
+ Collaboration diagram for ilSamlIdpMetadataPurifier:

Public Member Functions

 purify ($a_html)
 Filters an HTML snippet/document to be XSS-free and standards-compliant.@access public

Parameters
string$a_htmlHTML snippet/document
More...
 
 purifyArray (array $a_array_of_html)
 Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.@access public

Parameters
array$a_array_of_htmlHTML snippet/document
More...
 
 purify ($a_html)
 Filters an HTML snippet/document to be XSS-free and standards-compliant. More...
 
 purifyArray (array $a_array_of_html)
 Filters an array of HTML snippets/documents to be XSS-free and standards-compliant. More...
 

Detailed Description

Member Function Documentation

◆ purify()

ilSamlIdpMetadataPurifier::purify (   $a_html)

Filters an HTML snippet/document to be XSS-free and standards-compliant.@access public

Parameters
string$a_htmlHTML snippet/document

Implements ilHtmlPurifierInterface.

Definition at line 14 of file class.ilSamlIdpMetadataPurifier.php.

15 {
16 return $a_html;
17 }

Referenced by purifyArray().

+ Here is the caller graph for this function:

◆ purifyArray()

ilSamlIdpMetadataPurifier::purifyArray ( array  $a_array_of_html)

Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.@access public

Parameters
array$a_array_of_htmlHTML snippet/document

Implements ilHtmlPurifierInterface.

Definition at line 22 of file class.ilSamlIdpMetadataPurifier.php.

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 }
purify($a_html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.@access public
$key
Definition: croninfo.php:18
$html
Definition: example_001.php:87

References $html, $key, and purify().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: