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 ContentTypeHeader

Representation of the Content-Type header field.

<?php

use ICanBoogie\HTTP\ContentTypeHeader;

$ct = new ContentType;
$ct->type = "text/html";
$ct->charset = "utf-8";
echo $ct;                 // text/html; charset=utf-8

$ct = ContentType::from("text/plain; charset=iso-8859-1");
echo $ct->type;           // text/plain
echo $ct->charset;        // iso-8859-1
ICanBoogie\HTTP\Header implements ArrayAccess
Extended by ICanBoogie\HTTP\ContentTypeHeader
Namespace: ICanBoogie\HTTP
See: http://tools.ietf.org/html/rfc2616#section-14.17
Located at vendor/icanboogie/http/lib/headers/content-type.php

Methods summary

public
# __construct( string $value = null, array $attributes = array() )

Defines the charset parameter.

Defines the charset parameter.

Parameters

$value
string
$name
$attributes
string
$value

Overrides

ICanBoogie\HTTP\Header::__construct

Methods inherited from ICanBoogie\HTTP\Header

__get(), __set(), __toString(), __unset(), from(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), parse()

Magic methods summary

Constants summary

Constants inherited from ICanBoogie\HTTP\Header

VALUE_ALIAS

Properties summary

Properties inherited from ICanBoogie\HTTP\Header

$parameters, $value

Magic properties

public mixed $type
#

string Media type of the entity-body.

string Media type of the entity-body.

public mixed $charset
#

string Charset of the entity-body.

string Charset of the entity-body.

Autodoc API documentation generated by ApiGen 2.8.0