Цю сторінку ще не перекладено українською, тому нижче англійська версія.

country() html()

The flag of a country code, or a link with the flag, the code and the country name.

html()->country()

Опції

ОпціяЗначення
$code, $link, $classISO code; a link with %code; classes of the link.

Приклад

Код

return html()->country('UA') . html()->country('PL') . ' ' . html()->country('DE', '#country-%code');

Примітки

  • Flags are the sprites of the bfh-select asset; names come from the geo_countries table.

Див. також: html/ip, form/country_box