ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
interface.ilHtmlPurifierInterface.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12{
20 public function purify($a_html);
21
29 public function purifyArray(Array $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.
purifyArray(Array $a_array_of_html)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.