public function purifyArray($array_of_html, $config = null)
    {
        $context_array = array();
        foreach ($array_of_html as $key => $html) {
            $array_of_html[$key] = $this->purify($html, $config);
            $context_array[$key] = $this->context;
        }
        $this->context = $context_array;
        return $array_of_html;
    }
public function purifyArray($array_of_html, $config = null)
    {
        $context_array = array();
        foreach ($array_of_html as $key => $html) {
            $array_of_html[$key] = $this->purify($html, $config);
            $context_array[$key] = $this->context;
        }
        $this->context = $context_array;
        return $array_of_html;
    }
public function purifyArray ( $ array_of_html , $ config = null ) { $ context_array = array ( ) ; foreach ( $ array_of_html as $ key => $ html ) { $ array_of_html [ $ key ] = $ this -> purify ( $ html , $ config ) ; $ context_array [ $ key ] = $ this -> context ; } $ this -> context = $ context_array ; return $ array_of_html ; }
Filters an array of HTML snippets

@param string[] $array_of_html Array of html snippets
@param HTMLPurifier_Config $config Optional config object for this operation.
See HTMLPurifier::purify() for more details.

@return string[] Array of purified HTML
Filters an array of HTML snippets