4 * Interchange component class describing configuration directives.
6 class HTMLPurifier_ConfigSchema_Interchange_Directive
11 * @type HTMLPurifier_ConfigSchema_Interchange_Id
16 * Type, e.g. 'integer' or 'istring'.
22 * Default value, e.g. 3 or 'DefaultVal'.
34 * Whether or not null is allowed as a value.
37 public $typeAllowsNull = false;
40 * Lookup table of allowed scalar values.
41 * e.g. array('allowed' => true).
42 * Null if all values are allowed.
48 * List of aliases for the directive.
49 * e.g. array(new HTMLPurifier_ConfigSchema_Interchange_Id('Ns', 'Dir'))).
50 * @type HTMLPurifier_ConfigSchema_Interchange_Id[]
52 public $aliases = array();
55 * Hash of value aliases, e.g. array('alt' => 'real'). Null if value
56 * aliasing is disabled (necessary for non-scalar types).
62 * Version of HTML Purifier the directive was introduced, e.g. '1.3.1'.
63 * Null if the directive has always existed.
69 * ID of directive that supercedes this old directive.
70 * Null if not deprecated.
71 * @type HTMLPurifier_ConfigSchema_Interchange_Id
73 public $deprecatedUse;
76 * Version of HTML Purifier this directive was deprecated. Null if not
80 public $deprecatedVersion;
83 * List of external projects this directive depends on, e.g. array('CSSTidy').
86 public $external = array();