protected function attributesArrayToText($attributes)
    {
        $text = "";

        foreach ($attributes as $name => $value)
        {
            $text .= "{$name}=\"{$value}\" ";
        }

        $text = rtrim($text);

        return $text;
    }
protected function attributesArrayToText($attributes)
    {
        $text = "";

        foreach ($attributes as $name => $value)
        {
            $text .= "{$name}=\"{$value}\" ";
        }

        $text = rtrim($text);

        return $text;
    }
protected function attributesArrayToText ( $ attributes ) { $ text = "" ; foreach ( $ attributes as $ name => $ value ) { $ text .= "{$name}=\"{$value}\" " ; } $ text = rtrim ( $ text ) ; return $ text ; }
Convert the attributes array to a html text attributes

@param  array $attributes
@return string
Convert the attributes array to a html text attributes