3 class HTMLPurifier_ConfigSchema_Interchange_Validator_IdExists
extends HTMLPurifier_ConfigSchema_Interchange_Validator
6 public function addNamespace($arr) {
7 if (!isset($arr['ID'])) {
8 throw new HTMLPurifier_ConfigSchema_Exception('Namespace must have ID');
10 parent
::addNamespace($arr);
13 public function addDirective($arr) {
14 if (!isset($arr['ID'])) {
15 throw new HTMLPurifier_ConfigSchema_Exception('Directive must have ID');
17 parent
::addDirective($arr);