Class HTMLPurifier_ConfigSchema_Interchange
Inheritance | HTMLPurifier_ConfigSchema_Interchange |
---|
Generic schema interchange format that can be converted to a runtime representation (HTMLPurifier_ConfigSchema) or HTML documentation. Members are completely validated.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$directives | Array of Directive ID => array(directive info) | HTMLPurifier_ConfigSchema_Interchange | |
$name | Name of the application this schema is describing. | HTMLPurifier_ConfigSchema_Interchange |
Public Methods
Method | Description | Defined By |
---|---|---|
addDirective() | Adds a directive array to $directives | HTMLPurifier_ConfigSchema_Interchange |
validate() | Convenience function to perform standard validation. Throws exception on failed validation. | HTMLPurifier_ConfigSchema_Interchange |
Property Details
Method Details
Adds a directive array to $directives
public void addDirective ( $directive ) | ||
$directive | HTMLPurifier_ConfigSchema_Interchange_Directive | |
throws | HTMLPurifier_ConfigSchema_Exception |
---|
Convenience function to perform standard validation. Throws exception on failed validation.
public void validate ( ) |