You are here

function domain_locale_list in Domain Locale 6

Same name and namespace in other branches
  1. 7 domain_locale.module \domain_locale_list()

Retieves an array of domains and languages enabled on those domains keyed by domain IDs

Return value

array

1 call to domain_locale_list()
domain_locale_lookup in ./domain_locale.module
Retrieves a list of languages enabled on given domain

File

./domain_locale.module, line 213
domain_locale Domain Locale: manage languages Provides domain specific language settings

Code

function domain_locale_list($reset = FALSE) {
  static $list;
  if (!isset($list) || $reset) {
    $list = _domain_locale_get_domains_languages();
  }
  return $list;
}