ICanBoogie/I18n 2.0.x
  • Namespace
  • Function

Namespaces

  • ICanBoogie
    • Binding
      • I18n
    • I18n
      • Translator

Classes

  • FormattedString
  • Helpers
  • Hooks
  • Translator

Functions

  • date_period
  • format_currency
  • format_date
  • format_datetime
  • format_number
  • format_size
  • format_time
  • get_cldr
  • get_language
  • get_locale
  • t

Function get_locale

Returns a locale.

Namespace: ICanBoogie\I18n
Located at

Parameters summary

string $id = null Identifier of the locale or <code>null</code> to retrieve the current locale.

Return value summary

ICanBoogie\CLDR\Locale \ICanBoogie\CLDR\Locale
ICanBoogie/I18n 2.0.x API documentation generated by ApiGen