mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 05:37:49 +02:00
[3.1.0] Implement Duplicate validator, also modify some design things
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1596 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -16,4 +16,11 @@ class HTMLPurifier_ConfigSchema_Validator
|
||||
*/
|
||||
public function validate(&$arr, $interchange) {}
|
||||
|
||||
/**
|
||||
* Throws a HTMLPurifier_ConfigSchema_Exception
|
||||
*/
|
||||
protected function error($msg) {
|
||||
throw new HTMLPurifier_ConfigSchema_Exception($msg);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user