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

  • ActiveRecord
  • Cache
  • Configs
  • Core
  • DateTime
  • Debug
  • DeleteOperation
  • Errors
  • Event
  • EventHook
  • Events
  • FileCache
  • FormattedString
  • Helpers
  • I18n
  • Image
  • Inflections
  • Inflector
  • Models
  • Module
  • Modules
  • Object
  • Operation
  • PingOperation
  • Prototype
  • Route
  • Routes
  • SaveOperation
  • Session
  • TimeZone
  • TimeZoneLocation
  • Uploaded
  • Vars
  • VarsIterator

Interfaces

  • StorageInterface
  • ToArray
  • ToArrayRecursive

Traits

  • PrototypeTrait
  • ToArrayRecursiveTrait

Exceptions

  • AlreadyAuthenticated
  • AuthenticationRequired
  • Exception
  • ModuleConstructorMissing
  • ModuleIsDisabled
  • ModuleNotDefined
  • OffsetError
  • OffsetNotDefined
  • OffsetNotReadable
  • OffsetNotWritable
  • PermissionRequired
  • PropertyError
  • PropertyIsReserved
  • PropertyNotDefined
  • PropertyNotReadable
  • PropertyNotWritable
  • RouteNotDefined
  • SecurityException

Constants

  • TOKEN_ALPHA
  • TOKEN_ALPHA_UPCASE
  • TOKEN_NUMERIC
  • TOKEN_SYMBOL
  • TOKEN_SYMBOL_WIDE

Functions

  • array_flatten
  • array_insert
  • array_merge_recursive
  • camelize
  • capitalize
  • downcase
  • dump
  • escape
  • escape_all
  • exact_array_merge_recursive
  • excerpt
  • format
  • generate_token
  • generate_token_wide
  • generate_v4_uuid
  • get_autoconfig
  • humanize
  • hyphenate
  • log
  • log_error
  • log_info
  • log_success
  • log_time
  • normalize
  • normalize_namespace_part
  • normalize_url_path
  • pbkdf2
  • pluralize
  • remove_accents
  • shorten
  • singularize
  • sort_by_weight
  • stable_sort
  • strip_root
  • titleize
  • unaccent_compare
  • unaccent_compare_ci
  • underscore
  • upcase

Class TimeZone

Representation of a timezone.

<?php

use ICanBoogie\TimeZone;

$zone = new TimeZone('Europe/Paris');

echo $zone;                     // "Europe/Paris"
echo $zone->offset;             // 3600
echo $zone->location;           // FR,48.86667,2.33333
echo $zone->location->latitude; // 48.86667
DateTimeZone
Extended by ICanBoogie\TimeZone
Namespace: ICanBoogie
Located at vendor/icanboogie/datetime/lib/timezone.php

Methods summary

public static ICanBoogie\Time\Zone
# from( mixed $source )

Returns a timezone according to the specified source.

Returns a timezone according to the specified source.

If the source is already an instance of Zone, it is returned as is.

Note: Instances created by the method are shared. That is, equivalent sources yield the same instance.

Parameters

$source
mixed
$source Source of the timezone.

Returns

ICanBoogie\Time\Zone
public
# __construct( string $timezone )

Initializes the $name property.

Initializes the $name property.

Parameters

$timezone
string
$timezone

Overrides

DateTimeZone::__construct
public
# __get( mixed $property )

Returns the $location, $name and $offset properties.

Returns the $location, $name and $offset properties.

Throws

ICanBoogie\PropertyNotDefined
in attempt to get an unsupported property.
public string
# __toString( )

Returns the name of the timezone.

Returns the name of the timezone.

Returns

string

Methods inherited from DateTimeZone

getLocation(), getName(), getOffset(), getTransitions(), listAbbreviations(), listIdentifiers()

Magic methods summary

Constants summary

Constants inherited from DateTimeZone

AFRICA, ALL, ALL_WITH_BC, AMERICA, ANTARCTICA, ARCTIC, ASIA, ATLANTIC, AUSTRALIA, EUROPE, INDIAN, PACIFIC, PER_COUNTRY, UTC

Properties summary

Magic properties

public read-only ICanBoogie\TimeZoneLocation $location
#

Location information for the timezone.

Location information for the timezone.

public read-only string $name
#

Name of the timezone.

Name of the timezone.

public read-only integer $offset
#

Timezone offset from UTC.

Timezone offset from UTC.

Autodoc API documentation generated by ApiGen 2.8.0