30        if (isset($this->directives[
$i = $directive->id->toString()])) {
 
   33        $this->directives[
$i] = $directive;
 
   43        return $validator->validate($this);
 
An exception for terminatinating execution or to throw for unit testing.
Exceptions related to configuration schema.
Generic schema interchange format that can be converted to a runtime representation (HTMLPurifier_Con...
validate()
Convenience function to perform standard validation.
$directives
Array of Directive ID => array(directive info) @type HTMLPurifier_ConfigSchema_Interchange_Directive[...
addDirective($directive)
Adds a directive array to $directives.
$name
Name of the application this schema is describing.
Performs validations on HTMLPurifier_ConfigSchema_Interchange.