\Swift_Mime_HeaderSet
A collection of MIME headers.
- Author: Chris Corbyn
Synopsis
interface Swift_Mime_HeaderSet
extends Swift_Mime_CharsetObserver
{
- // methods
- public void addMailboxHeader()
- public void addDateHeader()
- public void addTextHeader()
- public void addParameterizedHeader()
- public void addIdHeader()
- public void addPathHeader()
- public boolean has()
- public void set()
- public Swift_Mime_Header get()
- public array getAll()
- public array listAll()
- public void remove()
- public void removeAll()
- public Swift_Mime_HeaderSet newInstance()
- public void defineOrdering()
- public void setAlwaysDisplayed()
- public string toString()
- // Inherited methods from Swift_Mime_CharsetObserver
- public void charsetChanged()
Hierarchy
Methods
public
- addDateHeader() — Add a new Date header using $timestamp (UNIX time).
- addIdHeader() — Add a new ID header for Message-ID or Content-ID.
- addMailboxHeader() — Add a new Mailbox Header with a list of $addresses.
- addParameterizedHeader() — Add a new ParameterizedHeader with $name, $value and $params.
- addPathHeader() — Add a new Path header with an address (path) in it.
- addTextHeader() — Add a new basic text header with $name and $value.
- defineOrdering() — Define a list of Header names as an array in the correct order.
- get() — Get the header with the given $name.
- getAll() — Get all headers with the given $name.
- has() — Returns true if at least one header with the given $name exists.
- listAll() — Return the name of all Headers
- newInstance() — Create a new instance of this HeaderSet.
- remove() — Remove the header with the given $name if it's set.
- removeAll() — Remove all headers with the given $name.
- set() — Set a header in the HeaderSet.
- setAlwaysDisplayed() — Set a list of header names which must always be displayed when set.
- toString() — Returns a string with a representation of all headers.
Inherited from Swift_Mime_CharsetObserver
public
- charsetChanged() — Notify this observer that the entity's charset has changed.