ICanBoogie/CLDR v1.6.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • CLDR

Classes

  • Calendar
  • CalendarCollection
  • ContextTransforms
  • 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 CalendarCollection

Representation of a calendar collection.

<?php

$calendar_collection = $repository->locales['fr']->calendars;
$gregorian_calendar = $calendar_collection['gregorian'];
ICanBoogie\CLDR\CalendarCollection implements ArrayAccess uses ICanBoogie\CLDR\CollectionTrait, ICanBoogie\CLDR\LocalePropertyTrait
Namespace: ICanBoogie\CLDR
Located at CalendarCollection.php

Methods summary

public
# __construct( ICanBoogie\CLDR\Locale $locale )

Initializes the $locale property.

Initializes the $locale property.

Parameters

$locale
Locale.
public
# offsetExists( $offset )

Throws

BadMethodCallException

Inheritdoc

Implementation of

ArrayAccess::offsetExists()
public ICanBoogie\CLDR\Calendar
# offsetGet( $offset )

Returns

ICanBoogie\CLDR\Calendar

Inheritdoc

Implementation of

ArrayAccess::offsetGet()

Methods inherited from ArrayAccess

offsetSet(), offsetUnset()

Methods used from ICanBoogie\CLDR\CollectionTrait

offsetSet(), offsetUnset()

Methods used from ICanBoogie\CLDR\LocalePropertyTrait

get_locale()

Properties summary

protected ICanBoogie\CLDR\Calendar[] $collection

Calendar instances.

Calendar instances.

# []

Magic properties used from ICanBoogie\CLDR\LocalePropertyTrait

$locale

ICanBoogie/CLDR v1.6.0 API documentation generated by ApiGen