| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* We only need one instance of this object. So we use the singleton
* pattern and cache the instance in this variable
* @var object
- * @static
*/
private static $_singleton = NULL;
protected $_registered;
/**
- *
*/
protected function __construct() {
$this->_registered = FALSE;
require_once "$civicrm_base_path/vendor/autoload.php";
}
+ /**
+ * Initialize HTML purifier class.
+ *
+ * @param string $prepend
+ */
public function initHtmlPurifier($prepend) {
if (class_exists('HTMLPurifier_Bootstrap')) {
// HTMLPurifier is already initialized, e.g. by the Drupal module.