4 * Interchange component class describing configuration directives.
6 class HTMLPurifier_ConfigSchema_Interchange_Directive
10 * ID of directive, instance of HTMLPurifier_ConfigSchema_Interchange_Id.
15 * String type, e.g. 'integer' or 'istring'.
20 * Default value, e.g. 3 or 'DefaultVal'.
30 * Boolean whether or not null is allowed as a value.
32 public $typeAllowsNull = false;
35 * Lookup table of allowed scalar values, e.g. array('allowed' => true).
36 * Null if all values are allowed.
41 * List of aliases for the directive,
42 * e.g. array(new HTMLPurifier_ConfigSchema_Interchange_Id('Ns', 'Dir'))).
44 public $aliases = array();
47 * Hash of value aliases, e.g. array('alt' => 'real'). Null if value
48 * aliasing is disabled (necessary for non-scalar types).
53 * Version of HTML Purifier the directive was introduced, e.g. '1.3.1'.
54 * Null if the directive has always existed.
59 * ID of directive that supercedes this old directive, is an instance
60 * of HTMLPurifier_ConfigSchema_Interchange_Id. Null if not deprecated.
62 public $deprecatedUse;
65 * Version of HTML Purifier this directive was deprecated. Null if not
68 public $deprecatedVersion;
71 * List of external projects this directive depends on, e.g. array('CSSTidy').
73 public $external = array();