HTMLPurifier_Config::mergeArrayFromForm PHP Method

mergeArrayFromForm() public method

Merges in configuration values from $_GET/$_POST to object. NOT STATIC.
public mergeArrayFromForm ( array $array, string | boolean $index = false, array | boolean $allowed = true, boolean $mq_fix = true )
$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
    public function mergeArrayFromForm($array, $index = false, $allowed = true, $mq_fix = true)
    {
        $ret = HTMLPurifier_Config::prepareArrayFromForm($array, $index, $allowed, $mq_fix, $this->def);
        $this->loadArray($ret);
    }