HTMLPurifier_Config::loadArrayFromForm
Loads configuration values from $_GET/$_POST that were posted via ConfigForm
Signature
public function loadArrayFromForm($_GET
$array,
[boolean
$index = false,
[boolean
$allowed = true,
[boolean
$mq_fix = true,
[Instance
$schema = NULL]]]] )
Parameters
$array
—
object
- or $_POST array to import
$index
—
boolean
- that the config variables are in
$allowed
—
boolean
- of allowed namespaces/directives
$mq_fix
—
boolean
- whether or not to enable magic quotes fix
$schema
—
object
- of HTMLPurifier_ConfigSchema to use, if not global copy