country() html()
The flag of a country code, or a link with the flag, the code and the country name.
html()->country()Options
| Option | Meaning |
|---|---|
$code, $link, $class | ISO code; a link with %code; classes of the link. |
Example
Code
return html()->country('UA') . html()->country('PL') . ' ' . html()->country('DE', '#country-%code');Notes
- Flags are the sprites of the
bfh-selectasset; names come from thegeo_countriestable.
See also: html/ip, form/country_box