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

  • AddressList
  • AddressListHeader
  • BccHeader
  • CcHeader
  • ContentTypeHeader
  • FileDeliverer
  • FromHeader
  • Header
  • Hooks
  • MailDeliverer
  • Mailer
  • Message
  • MessagePart
  • ToHeader
  • ValueHeader

Interfaces

  • Deliverer

Class Header

Representation of header fields.

ICanBoogie\Mailer\Header implements ArrayAccess, IteratorAggregate
Namespace: ICanBoogie\Mailer
See: http://tools.ietf.org/html/rfc5322#section-2.2
Located at vendor/icanboogie/mailer/lib/header.php

Methods summary

public
# __construct( array $fields = [] )
public
# __clone( )
public string
# __toString( )

Returns the string representation of the instance.

Returns the string representation of the instance.

Header fields with empty string values are discarted.

Returns

string
public boolean
# offsetExists( mixed $field )

Checks if a header field exists.

Checks if a header field exists.

Parameters

$field
mixed
$field

Returns

boolean

Implementation of

ArrayAccess::offsetExists()
public string|null
# offsetGet( mixed $field )

Returns a header.

Returns a header.

Parameters

$field
mixed
$field

Returns

string|null
The header field value or null if it is not defined.

Implementation of

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

Sets a header field.

Sets a header field.

Note: Setting a header field to null removes it, just like unset() would.

Parameters

$field
string
$field The header field to set.
$value
mixed
$value The value of the header field.

Implementation of

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

Removes a header field.

Removes a header field.

Implementation of

ArrayAccess::offsetUnset()
public
# getIterator( )

Returns an iterator for the header fields.

Returns an iterator for the header fields.

Implementation of

IteratorAggregate::getIterator()

Magic methods summary

Properties summary

protected array[string]mixed $fields
#

Header fields.

Header fields.

Autodoc API documentation generated by ApiGen 2.8.0