ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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}
An exception for terminatinating execution or to throw for unit testing.
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.