Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • Calendar
  • CalendarCollection
  • DateFormatter
  • DateTimeFormatter
  • FileCache
  • Locale
  • LocaleCollection
  • LocalizedDateTime
  • LocalizedObject
  • Provider
  • Repository
  • Retriever
  • RunTimeCache
  • Supplemental
  • TimeFormatter

Interfaces

  • Cache

Exceptions

  • ResourceNotFound

Class Locale

Representation of a locale.

ICanBoogie\CLDR\Locale implements ArrayAccess

Direct known subclasses

ICanBoogie\I18n\Locale

Namespace: ICanBoogie\CLDR
Located at vendor/icanboogie/cldr/lib/locale.php

Methods summary

public
# __construct( ICanBoogie\CLDR\Repository $repository, string $identity )

Initializes the ICanBoogie\CLDR\Locale::$repository and ICanBoogie\CLDR\Locale::$identity properties.

Initializes the ICanBoogie\CLDR\Locale::$repository and ICanBoogie\CLDR\Locale::$identity properties.

Parameters

$repository
ICanBoogie\CLDR\Repository
$repository
$identity
string
$identity Locale identifier.
public
# __get( mixed $property )
protected
# get_repository( )
protected
# get_identity( )
protected ICanBoogie\CLDR\CalendarCollection
# get_calendars( )

Returns the calendars available for this locale.

Returns the calendars available for this locale.

Returns

ICanBoogie\CLDR\CalendarCollection
protected
# get_calendar( )
public
# offsetExists( mixed $offset )

Implementation of

ArrayAccess::offsetExists()
public
# offsetGet( mixed $offset )

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( mixed $offset, mixed $value )

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( mixed $offset )

Implementation of

ArrayAccess::offsetUnset()

Magic methods summary

Properties summary

protected ICanBoogie\CLDR\Repository $repository
#

Representation of a CLDR.

Representation of a CLDR.

protected string $identity
#

CLDR identity.

CLDR identity.

protected array $sections
#

Loaded sections.

Loaded sections.

Magic properties

public read-only ICanBoogie\CLDR\Repository $repository
#

The repository provided during construct.

The repository provided during construct.

public read-only string $identity
#

The identity of the locale.

The identity of the locale.

public read-only ICanBoogie\CLDR\CalendarCollection $calendars
#

The calendar collection of the locale.

The calendar collection of the locale.

public read-only ICanBoogie\CLDR\Calendar $calendar
#

The prefered calendar for this locale.

The prefered calendar for this locale.

Autodoc API documentation generated by ApiGen 2.8.0