ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.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.public

Parameters
array$a_array_of_htmlHTML snippet/document
More...
 

Detailed Description

Member Function Documentation

◆ purify()

ilSamlIdpMetadataPurifier::purify (   $a_html)

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

Parameters
string$a_htmlHTML snippet/document

Implements ilHtmlPurifierInterface.

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

Referenced by purifyArray().

15  {
16  return $a_html;
17  }
+ 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.public

Parameters
array$a_array_of_htmlHTML snippet/document

Implements ilHtmlPurifierInterface.

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

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

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.public HTML snippet/document ...
$key
Definition: croninfo.php:18
$html
Definition: example_001.php:87
+ Here is the call graph for this function:

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