HTMLPurifier_ConfigSchema_Interchange
Generic schema interchange format that can be converted to a runtime representation (HTMLPurifier_ConfigSchema) or HTML documentation. Members are completely validated.
- Full name:
\HTMLPurifier_ConfigSchema_Interchange
Properties
name
Name of the application this schema is describing.
directives
Array of Directive ID => array(directive info)
Methods
addDirective
Adds a directive array to $directives
Parameters:
Parameter | Type | Description |
---|---|---|
$directive |
\HTMLPurifier_ConfigSchema_Interchange_Directive |
Throws:
validate
Convenience function to perform standard validation. Throws exception on failed validation.
Automatically generated on 2025-03-18