ICanBoogie/CLDR v1.5.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • CLDR

Classes

  • Calendar
  • CalendarCollection
  • Currency
  • CurrencyCollection
  • CurrencyFormatter
  • DateFormatter
  • DateTimeFormatter
  • FileProvider
  • ListFormatter
  • Locale
  • LocaleCollection
  • LocalizedCurrency
  • LocalizedDateTime
  • LocalizedListFormatter
  • LocalizedLocale
  • LocalizedNumberFormatter
  • LocalizedObject
  • LocalizedObjectWithFormatter
  • LocalizedTerritory
  • NumberFormatter
  • NumberPattern
  • NumberPatternParser
  • Numbers
  • ProviderCollection
  • RedisProvider
  • Repository
  • RunTimeProvider
  • Supplemental
  • Territory
  • TerritoryCollection
  • TimeFormatter
  • WebProvider

Interfaces

  • Exception
  • Formatter
  • LocalizeAwareInterface
  • Provider

Traits

  • CodePropertyTrait
  • CollectionTrait
  • LocalePropertyTrait
  • ProviderStorageBinding
  • RepositoryPropertyTrait

Exceptions

  • ResourceNotFound
  • TerritoryNotDefined

Class Repository

Representation of a CLDR.

<?php

namespace ICanBoogie\CLDR;

$repository = new Repository($provider);

var_dump($repository->locales['fr']);
var_dump($repository->territories['FR']);
ICanBoogie\CLDR\Repository uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\CLDR
See: http://www.unicode.org/repos/cldr-aux/json/24/
Located at Repository.php

Methods summary

protected ICanBoogie\CLDR\Provider
# get_provider( )

Returns

ICanBoogie\CLDR\Provider
protected ICanBoogie\CLDR\LocaleCollection
# lazy_get_locales( )

Returns

ICanBoogie\CLDR\LocaleCollection
protected ICanBoogie\CLDR\Supplemental
# lazy_get_supplemental( )

Returns

ICanBoogie\CLDR\Supplemental
protected ICanBoogie\CLDR\TerritoryCollection
# lazy_get_territories( )

Returns

ICanBoogie\CLDR\TerritoryCollection
protected ICanBoogie\CLDR\CurrencyCollection
# lazy_get_currencies( )

Returns

ICanBoogie\CLDR\CurrencyCollection
protected ICanBoogie\CLDR\NumberFormatter
# lazy_get_number_formatter( )

Returns

ICanBoogie\CLDR\NumberFormatter
protected ICanBoogie\CLDR\ListFormatter
# lazy_get_list_formatter( )

Returns

ICanBoogie\CLDR\ListFormatter
public
# __construct( ICanBoogie\CLDR\Provider $provider )

Initializes the $provider property.

Initializes the $provider property.

Parameters

$provider
public array
# fetch( string $path )

Fetches the data available at the specified path.

Fetches the data available at the specified path.

Note: The method is forwarded to Provider::provide.

Parameters

$path

Returns

array

Properties summary

Magic properties

public read-only ICanBoogie\CLDR\Provider $provider
public read-only ICanBoogie\CLDR\LocaleCollection $locales
public read-only ICanBoogie\CLDR\Supplemental $supplemental
public read-only ICanBoogie\CLDR\TerritoryCollection $territories
public read-only ICanBoogie\CLDR\CurrencyCollection $currencies
public read-only ICanBoogie\CLDR\NumberFormatter $number_formatter
public read-only ICanBoogie\CLDR\ListFormatter $list_formatter
ICanBoogie/CLDR v1.5.0 API documentation generated by ApiGen