function _yandex_metrics_reports_idna_decode in Yandex.Metrics 8.2
Same name and namespace in other branches
- 8.3 yandex_metrics_reports/yandex_metrics_reports.module \_yandex_metrics_reports_idna_decode()
- 6.2 yandex_metrics_reports/yandex_metrics_reports.module \_yandex_metrics_reports_idna_decode()
- 7.3 yandex_metrics_reports/yandex_metrics_reports.module \_yandex_metrics_reports_idna_decode()
- 7.2 yandex_metrics_reports/yandex_metrics_reports.module \_yandex_metrics_reports_idna_decode()
Decode ASCII 'xn--*' domain name to Unicode national domain name if it is possible.
Parameters
$domain:
Return value
string
1 call to _yandex_metrics_reports_idna_decode()
- yandex_metrics_reports_get_counter_for_current_site in yandex_metrics_reports/
yandex_metrics_reports.module - Gets counter ID for the current site from Yandex.Metrics.
File
- yandex_metrics_reports/
yandex_metrics_reports.module, line 373 - The main code of Yandex.Metrics Reports module.
Code
function _yandex_metrics_reports_idna_decode($domain) {
return idn_to_utf8($domain);
}