final public static function parseAttributes($attributes, $ignore = array()) {
        if (!is_array($attributes)) {
            return $attributes;
        }
        $return = "";
        foreach ($attributes as $attr => $value) {
            if (in_array($attr, $ignore))
                continue;
            $return .= $attr . '="' . $value . '" ';
        }

        return $return;
    }
final public static function parseAttributes($attributes, $ignore = array()) {
        if (!is_array($attributes)) {
            return $attributes;
        }
        $return = "";
        foreach ($attributes as $attr => $value) {
            if (in_array($attr, $ignore))
                continue;
            $return .= $attr . '="' . $value . '" ';
        }

        return $return;
    }
final public static function parseAttributes ( $ attributes , $ ignore = array ( ) ) { if ( ! is_array ( $ attributes ) ) { return $ attributes ; } $ return = "" ; foreach ( $ attributes as $ attr => $ value ) { if ( in_array ( $ attr , $ ignore ) ) continue ; $ return .= $ attr . '="' . $ value . '" ' ; } return $ return ; }
Parses the attributes for use
@param array $attributes
@param array $ignore Array of attributes to ignore
@return string
Parses the attributes for use