/** * Sets the html purifier singleton * * @param HTMLPurifier $purifier * @return void */ public static function setHtmlPurifier($purifier) { self::$_purifier = $purifier; // Set this in the registry so that other plugins can get to it. Zend_Registry::set('html_purifier', $purifier); }