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

  • CacheControlHeader
  • CallableDispatcher
  • ContentDispositionHeader
  • ContentTypeHeader
  • DateHeader
  • Dispatcher
  • File
  • FileList
  • Header
  • HeaderParameter
  • Headers
  • Helpers
  • RedirectResponse
  • Request
  • Response
  • WeightedDispatcher

Interfaces

  • IDispatcher

Exceptions

  • ForceRedirect
  • HTTPError
  • MethodNotSupported
  • NotFound
  • ServiceUnavailable
  • StatusCodeNotValid

Functions

  • dispatch
  • get_dispatcher
  • get_initial_request

Class DateHeader

A date time object that renders into a string formatted for HTTP header fields.

DateTime
Extended by ICanBoogie\DateTime
Extended by ICanBoogie\HTTP\DateHeader
Namespace: ICanBoogie\HTTP
See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
Located at vendor/icanboogie/http/lib/headers/datetime.php

Methods summary

public static ICanBoogie\DateTime
# from( mixed $source, mixed $timezone = null )

Creates a DateTime instance from a source.

Creates a DateTime instance from a source.

<?php

use ICanBoogie\DateTime;

DateTime::from(new \DateTime('2001-01-01 01:01:01', new \DateTimeZone('Europe/Paris')));
DateTime::from('2001-01-01 01:01:01', 'Europe/Paris');
DateTime::from('now');

Parameters

$source
mixed
$source
$timezone
mixed
$timezone The time zone to use to create the time. The value is ignored if the source is an instance of DateTime.

Returns

ICanBoogie\DateTime

Overrides

ICanBoogie\DateTime::from
public
# __construct( string|integer|DateTime $time = 'now', DateTimeZone|string $timezone = null )

Returns a new ICanBoogie\HTTP\DateHeader object.

Returns a new ICanBoogie\HTTP\DateHeader object.

Parameters

$time
string|integer|DateTime
$time If time is provided as a numeric value it is used as "@{$time}" and the time zone is set to UTC.
$timezone
DateTimeZone|string
$timezone A DateTimeZone object representing the desired time zone. If the time zone is empty utc is used instead.

Overrides

ICanBoogie\DateTime::__construct
public
# __toString( )

Formats the instance according to the RFC 1123.

Formats the instance according to the RFC 1123.

Overrides

ICanBoogie\DateTime::__toString

Methods inherited from ICanBoogie\DateTime

__call(), __get(), __set(), change(), format(), get_friday(), get_monday(), get_saturday(), get_sunday(), get_thursday(), get_tuesday(), get_wednesday(), none(), now(), setTimezone()

Methods inherited from DateTime

__set_state(), __wakeup(), add(), createFromFormat(), diff(), getLastErrors(), getOffset(), getTimestamp(), getTimezone(), modify(), setDate(), setISODate(), setTime(), setTimestamp(), sub()

Magic methods summary

Magic methods inherited from ICanBoogie\DateTime

format_as_atom(), format_as_cookie(), format_as_date(), format_as_db(), format_as_iso8601(), format_as_number(), format_as_rfc1036(), format_as_rfc1123(), format_as_rfc2822(), format_as_rfc3339(), format_as_rfc822(), format_as_rfc850(), format_as_rss(), format_as_time(), format_as_w3c()

Constants summary

Constants inherited from ICanBoogie\DateTime

DATE, DB, NUMBER, TIME

Constants inherited from DateTime

ATOM, COOKIE, ISO8601, RFC1036, RFC1123, RFC2822, RFC3339, RFC822, RFC850, RSS, W3C

Properties summary

Magic properties inherited from ICanBoogie\DateTime

$as_atom, $as_cookie, $as_date, $as_db, $as_iso8601, $as_number, $as_rfc1036, $as_rfc1123, $as_rfc2822, $as_rfc3339, $as_rfc822, $as_rfc850, $as_rss, $as_time, $as_w3c, $day, $friday, $hour, $is_dst, $is_empty, $is_friday, $is_future, $is_local, $is_monday, $is_past, $is_saturday, $is_sunday, $is_thursday, $is_today, $is_tuesday, $is_utc, $is_wednesday, $local, $minute, $monday, $month, $quarter, $saturday, $second, $sunday, $thursday, $timestamp, $tomorrow, $tuesday, $utc, $wednesday, $week, $weekday, $year, $year_day, $yesterday, $zone

Autodoc API documentation generated by ApiGen 2.8.0