Prepares an array from a form into something usable for the more
strict parts of HTMLPurifier_Config
public static prepareArrayFromForm ( array $array, string | boolean $index = false, array | boolean $allowed = true, boolean $mq_fix = true, HTMLPurifier_ConfigSchema $schema = null ) : array | ||
$array | array | $_GET or $_POST array to import |
$index | string | boolean | Index/name that the config variables are in |
$allowed | array | boolean | List of allowed namespaces/directives |
$mq_fix | boolean | Boolean whether or not to enable magic quotes fix |
$schema | HTMLPurifier_ConfigSchema | Schema to use, if not global copy |
return | array |