\HTMLPurifier_ConfigSchema_Interchange

Generic schema interchange format that can be converted to a runtime representation (HTMLPurifier_ConfigSchema) or HTML documentation. Members are completely validated.

Summary

Methods
Properties
Constants
addDirective()
validate()
$name
$directives
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name

Name of the application this schema is describing.

$directives

$directives

Array of Directive ID => array(directive info)

Methods

addDirective()

addDirective(\HTMLPurifier_ConfigSchema_Interchange_Directive  $directive) : mixed

Adds a directive array to $directives

Parameters

\HTMLPurifier_ConfigSchema_Interchange_Directive $directive

Throws

\HTMLPurifier_ConfigSchema_Exception

Returns

mixed —

validate()

validate() : mixed

Convenience function to perform standard validation. Throws exception on failed validation.

Returns

mixed —