Generic schema interchange format that can be converted to a runtime representation (HTMLPurifier_ConfigSchema) or HTML documentation. Members are completely validated.
Methods | ||
---|---|---|
public
|
addDirective(HTMLPurifier_ConfigSchema_Interchange_Directive $directive)
Adds a directive array to $directives
|
# |
public
|
validate()
Convenience function to perform standard validation. Throws exception
on failed validation.
Convenience function to perform standard validation. Throws exception on failed validation. |
# |
Properties | |||
---|---|---|---|
public
|
|
$name
Name of the application this schema is describing.
Name of the application this schema is describing. |
# |
public
|
|
$directives = []
Array of Directive ID => array(directive info)
Array of Directive ID => array(directive info) |
# |