protected static function getAttributesString($attributes)
    {
        $str = '';
        if (is_array($attributes)) {
            $charset = self::getOption('charset');
            foreach ($attributes as $key => $value) {
                $str .= ' ' . $key . '="' . htmlspecialchars($value, ENT_QUOTES, $charset) . '"';
            }
        }
        return $str;
    }
protected static function getAttributesString($attributes)
    {
        $str = '';
        if (is_array($attributes)) {
            $charset = self::getOption('charset');
            foreach ($attributes as $key => $value) {
                $str .= ' ' . $key . '="' . htmlspecialchars($value, ENT_QUOTES, $charset) . '"';
            }
        }
        return $str;
    }
protected static function getAttributesString ( $ attributes ) { $ str = '' ; if ( is_array ( $ attributes ) ) { $ charset = self :: getOption ( 'charset' ) ; foreach ( $ attributes as $ key => $ value ) { $ str .= ' ' . $ key . '="' . htmlspecialchars ( $ value , ENT_QUOTES , $ charset ) . '"' ; } } return $ str ; }
Creates HTML attribute string from array

@param    array   Attribute array
@return   string  Attribute string
Creates HTML attribute string from array