Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_Mime_SimpleHeaderFactory

Source Location: /vendors/swift/classes/Swift/Mime/SimpleHeaderFactory.php

Class Overview


Creates MIME headers.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 27]
Creates MIME headers.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 45]

Swift_Mime_SimpleHeaderFactory __construct( Swift_Mime_HeaderEncoder $encoder, Swift_Encoder $paramEncoder, [string $charset = null])

Creates a new SimpleHeaderFactory using $encoder and $paramEncoder.



Tags:

access:  public


Parameters:

Swift_Mime_HeaderEncoder   $encoder  
Swift_Encoder   $paramEncoder  
string   $charset  

[ Top ]

method charsetChanged [line 169]

void charsetChanged( string $charset)

Notify this observer that the entity's charset has changed.



Tags:

access:  public



Implementation of:
Swift_Mime_CharsetObserver::charsetChanged()
Notify this observer that the entity's charset has changed.

Parameters:

string   $charset  

[ Top ]

method createDateHeader [line 76]

Swift_Mime_Header createDateHeader( string $name, [int $timestamp = null])

Create a new Date header using $timestamp (UNIX time).



Tags:

access:  public



Implementation of:
Swift_Mime_HeaderFactory::createDateHeader()
Create a new Date header using $timestamp (UNIX time).

Parameters:

string   $name  
int   $timestamp  

[ Top ]

method createIdHeader [line 137]

Swift_Mime_Header createIdHeader( string $name, [string|array $ids = null])

Create a new ID header for Message-ID or Content-ID.



Tags:

access:  public



Implementation of:
Swift_Mime_HeaderFactory::createIdHeader()
Create a new ID header for Message-ID or Content-ID.

Parameters:

string   $name  
string|array   $ids  

[ Top ]

method createMailboxHeader [line 59]

Swift_Mime_Header createMailboxHeader( string $name, [array|string $addresses = null])

Create a new Mailbox Header with a list of $addresses.



Tags:

access:  public



Implementation of:
Swift_Mime_HeaderFactory::createMailboxHeader()
Create a new Mailbox Header with a list of $addresses.

Parameters:

string   $name  
array|string   $addresses  

[ Top ]

method createParameterizedHeader [line 111]

Swift_Mime_ParameterizedHeader createParameterizedHeader( string $name, [string $value = null], [array $params = array()])

Create a new ParameterizedHeader with $name, $value and $params.



Tags:

access:  public



Implementation of:
Swift_Mime_HeaderFactory::createParameterizedHeader()
Create a new ParameterizedHeader with $name, $value and $params.

Parameters:

string   $name  
string   $value  
array   $params  

[ Top ]

method createPathHeader [line 154]

Swift_Mime_Header createPathHeader( string $name, [string $path = null])

Create a new Path header with an address (path) in it.



Tags:

access:  public



Implementation of:
Swift_Mime_HeaderFactory::createPathHeader()
Create a new Path header with an address (path) in it.

Parameters:

string   $name  
string   $path  

[ Top ]

method createTextHeader [line 93]

Swift_Mime_Header createTextHeader( string $name, [string $value = null])

Create a new basic text header with $name and $value.



Tags:

access:  public



Implementation of:
Swift_Mime_HeaderFactory::createTextHeader()
Create a new basic text header with $name and $value.

Parameters:

string   $name  
string   $value  

[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:16 -0500 by phpDocumentor 1.4.3