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