HTMLPurifier 4.4.0
HTMLPurifier_ConfigSchema_Interchange Class Reference

Generic schema interchange format that can be converted to a runtime representation (HTMLPurifier_ConfigSchema) or HTML documentation. More...

List of all members.

Public Member Functions

 addDirective ($directive)
 Adds a directive array to $directives.
 validate ()
 Convenience function to perform standard validation.

Public Attributes

 $name
 Name of the application this schema is describing.
 $directives = array()
 Array of Directive ID => array(directive info)

Detailed Description

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

Members are completely validated.

Definition at line 8 of file Interchange.php.


Member Function Documentation

HTMLPurifier_ConfigSchema_Interchange::addDirective ( directive)

Adds a directive array to $directives.

Definition at line 24 of file Interchange.php.

HTMLPurifier_ConfigSchema_Interchange::validate ( )

Convenience function to perform standard validation.

Throws exception on failed validation.

Definition at line 35 of file Interchange.php.


Member Data Documentation

HTMLPurifier_ConfigSchema_Interchange::$directives = array()

Array of Directive ID => array(directive info)

Definition at line 19 of file Interchange.php.

HTMLPurifier_ConfigSchema_Interchange::$name

Name of the application this schema is describing.

Definition at line 14 of file Interchange.php.


The documentation for this class was generated from the following file: