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