$value) { if (!strncmp($key, 'Null_', 5) && !empty($value)) { unset($get[substr($key, 5)]); unset($get[$key]); } } @$config->loadArray($get); $printer_html_definition = new HTMLPurifier_Printer_HTMLDefinition(); $printer_css_definition = new HTMLPurifier_Printer_CSSDefinition(); echo ''; ?>
Pretty-print a definition and check out its contents. You can also twiddle with the configuration settings to see how a directive influences the internal behavior of the object.
You can specify an array by typing in a comma-separated list of items, HTML Purifier will take care of the rest (including transformation into a real array list or a lookup table). If a directive can be set to null, that usually means that the feature is disabled when it is null (not that, say, no tags are allowed).