Definition at line 26 of file CountryflagInterface.php.
Xoops\Core\Service\Contract\CountryflagInterface::getImgTag |
( |
Response |
$response, |
|
|
|
$countryCode, |
|
|
|
$attributes = array() |
|
) |
| |
getImgTag - get a full HTML img tag to display a flag based on county code
- Parameters
-
Response | $response | object |
string | $countryCode | ISO 3166-1 alpha-2 code to select flag |
array | $attributes | array of attribute name => value pairs for img tag |
- Returns
- void - response->value set to URL string
Xoops\Core\Service\Contract\CountryflagInterface::getImgUrl |
( |
Response |
$response, |
|
|
|
$countryCode |
|
) |
| |
getImgUrl - get URL to flag based on county code
- Parameters
-
Response | $response | object |
string | $countryCode | ISO 3166-1 alpha-2 code to select flag |
- Returns
- void - response->value set to URL string
The documentation for this interface was generated from the following file: