/** * CleanHTMLStatic * A static method which can be used by an application which does not * modify any of the default settings. Named as such due to PHP not * allowing static methods to share names with regular methods. * * This is a shorthand call to the following: * * $cleaner = new Interspire_HtmlCleaner(); * $html = $cleaner->CleanHTML($html); * * @param string $html Input HTML string. * @return string The results of the HTML cleaning process. */ public static function CleanHTMLStatic($html) { $cleaner = new self($html); return $cleaner->CleanHTML(); }