atr_language_profile

Versions
6.1
atr_language_profile($code)

Return a language name based on a language code.

Parameters

$code A language code as defined in _locale_get_predefined_list() or 'all'.

Return value

The language name.

▾ 2 functions call atr_language_profile()

atr_form_profile in atr/includes/atr.admin.inc
Form builder; edit a settings profile.
theme_atr_profile in atr/includes/atr.admin.inc
Theme a settings profile for display.

Code

atr/includes/atr.admin.inc, line 411

<?php
function atr_language_profile($code) {
  $languages = atr_languages_profile();

  return $languages[$code];
}
?>