thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier/Printer/HTMLDefinition.php
protected function listifyTagLookup($array) {
        ksort($array);
        $list = array();
        foreach ($array as $name => $discard) {
            if ($name !== '#PCDATA' && !isset($this->def->info[$name])) continue;
            $list[] = $name;
        }
        return $this->listify($list);
    }
protected function listifyTagLookup($array) {
        ksort($array);
        $list = array();
        foreach ($array as $name => $discard) {
            if ($name !== '#PCDATA' && !isset($this->def->info[$name])) continue;
            $list[] = $name;
        }
        return $this->listify($list);
    }
protected function listifyTagLookup ( $ array ) { ksort ( $ array ) ; $ list = array ( ) ; foreach ( $ array as $ name => $ discard ) { if ( $ name !== '#PCDATA' && ! isset ( $ this -> def -> info [ $ name ] ) ) continue ; $ list [ ] = $ name ; } return $ this -> listify ( $ list ) ; }
Listifies a tag lookup table.
@param $array Tag lookup array in form of array('tagname' => true)
Listifies a tag lookup table .