/** * Retrieves an instance of the application-wide configuration definition. */ public static function &instance($prototype = null) { static $instance; if ($prototype !== null) { $instance = $prototype; } elseif ($instance === null || $prototype === true) { $instance = new HTMLPurifier_ConfigSchema(); $instance->initialize(); } return $instance; }