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 LocalizedObject

Representation of a localized object.

ICanBoogie\CLDR\LocalizedObject uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\CLDR\LocalePropertyTrait

Direct known subclasses

ICanBoogie\CLDR\LocalizedListFormatter, ICanBoogie\CLDR\LocalizedLocale, ICanBoogie\CLDR\LocalizedNumberFormatter, ICanBoogie\CLDR\LocalizedObjectWithFormatter, ICanBoogie\CLDR\LocalizedTerritory

Indirect known subclasses

ICanBoogie\CLDR\LocalizedCurrency, ICanBoogie\CLDR\LocalizedDateTime

Abstract
Namespace: ICanBoogie\CLDR
Located at LocalizedObject.php

Methods summary

public static ICanBoogie\CLDR\LocalizedObject
# from( object $source, ICanBoogie\CLDR\Locale $locale, array $options = [] )

Creates a localized instance from the specified source and location.

Creates a localized instance from the specified source and location.

Parameters

$source
$locale
$options

Returns

ICanBoogie\CLDR\LocalizedObject
A localized instance.
protected object
# get_target( )

Returns

object
public
# __construct( object $target, ICanBoogie\CLDR\Locale $locale, array $options = [] )

Initializes the ICanBoogie\CLDR\LocalizedObject::$target, $locale, and ICanBoogie\CLDR\LocalizedObject::$options properties.

Initializes the ICanBoogie\CLDR\LocalizedObject::$target, $locale, and ICanBoogie\CLDR\LocalizedObject::$options properties.

Parameters

$target
The object to localize.
$locale
The locale used by the formatter.
$options
Some options.

Methods used from ICanBoogie\CLDR\LocalePropertyTrait

get_locale()

Properties summary

protected object $target

The object to localize.

The object to localize.

#
protected array $options

Options.

Options.

#

Magic properties

public read-only object $target

The object to localize.

public read-only ICanBoogie\CLDR\Locale $locale

The locale used by the formatter.

ICanBoogie/CLDR v1.6.0 API documentation generated by ApiGen