ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
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 }
Interface for html sanitizing functionality.
purify($a_html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.public HTML snippet/document ...
purifyArray(array $a_array_of_html)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.public HTML snippet/document
Create styles array
The data for the language used.
Class ilSamlIdpMetadataPurifier.
$key
Definition: croninfo.php:18
$html
Definition: example_001.php:87