Cheetah
Public Member Functions | Public Attributes | List of all members
HTMLPurifier_ConfigSchema_Interchange Class Reference

Public Member Functions

 addDirective ($directive)
 
 validate ()
 

Public Attributes

 $name
 
 $directives = array()
 

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

◆ addDirective()

HTMLPurifier_ConfigSchema_Interchange::addDirective (   $directive)

Adds a directive array to $directives

Parameters
HTMLPurifier_ConfigSchema_Interchange_Directive$directive
Exceptions
HTMLPurifier_ConfigSchema_Exception

Definition at line 28 of file Interchange.php.

◆ validate()

HTMLPurifier_ConfigSchema_Interchange::validate ( )

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

Definition at line 40 of file Interchange.php.

Member Data Documentation

◆ $directives

HTMLPurifier_ConfigSchema_Interchange::$directives = array()

Array of Directive ID => array(directive info) @type HTMLPurifier_ConfigSchema_Interchange_Directive[]

Definition at line 21 of file Interchange.php.

◆ $name

HTMLPurifier_ConfigSchema_Interchange::$name

Name of the application this schema is describing. @type string

Definition at line 15 of file Interchange.php.


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