ILIAS  release_7 Revision v7.30-3-g800a261c036
ilSamlIdpMetadataPurifier Class Reference

Class ilSamlIdpMetadataPurifier. More...

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

Public Member Functions

 purify (string $html)
 Filters an HTML snippet/document to be XSS-free and standards-compliant.
Parameters
string$html
Returns
string
More...
 
 purifyArray (array $htmlCollection)
 Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.
Parameters
string[]$htmlCollection
Returns
string[]
More...
 
 purify (string $html)
 Filters an HTML snippet/document to be XSS-free and standards-compliant. More...
 
 purifyArray (array $htmlCollection)
 Filters an array of HTML snippets/documents to be XSS-free and standards-compliant. More...
 

Detailed Description

Member Function Documentation

◆ purify()

ilSamlIdpMetadataPurifier::purify ( string  $html)

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

Parameters
string$html
Returns
string

Implements ilHtmlPurifierInterface.

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

12 : string
13 {
14 return $html;
15 }

Referenced by purifyArray().

+ Here is the caller graph for this function:

◆ purifyArray()

ilSamlIdpMetadataPurifier::purifyArray ( array  $htmlCollection)

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

Parameters
string[]$htmlCollection
Returns
string[]

Implements ilHtmlPurifierInterface.

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

20 : array
21 {
22 foreach ($htmlCollection as $key => $html) {
23 $html = $this->purify($html);
24 $htmlCollection[$key] = $html;
25 }
26
27 return $htmlCollection;
28 }
purify(string $html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.string

References purify().

+ Here is the call graph for this function:

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