XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Mime_HeaderFactory Interface Reference
Inheritance diagram for Swift_Mime_HeaderFactory:
Inheritance graph

Public Member Functions

 createDateHeader ($name, $timestamp=null)
 
 createIdHeader ($name, $ids=null)
 
 createMailboxHeader ($name, $addresses=null)
 
 createParameterizedHeader ($name, $value=null, $params=array())
 
 createPathHeader ($name, $path=null)
 
 createTextHeader ($name, $value=null)
 
- Public Member Functions inherited from Swift_Mime_CharsetObserver
 charsetChanged ($charset)
 

Detailed Description

Definition at line 19 of file HeaderFactory.php.

Member Function Documentation

Swift_Mime_HeaderFactory::createDateHeader (   $name,
  $timestamp = null 
)

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

Parameters
string$name
int$timestamp
Returns
Swift_Mime_Header

Implemented in Swift_Mime_SimpleHeaderFactory.

Swift_Mime_HeaderFactory::createIdHeader (   $name,
  $ids = null 
)

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

Parameters
string$name
string | array$ids
Returns
Swift_Mime_Header

Implemented in Swift_Mime_SimpleHeaderFactory.

Swift_Mime_HeaderFactory::createMailboxHeader (   $name,
  $addresses = null 
)

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

Parameters
string$name
array | string$addresses
Returns
Swift_Mime_Header

Implemented in Swift_Mime_SimpleHeaderFactory.

Swift_Mime_HeaderFactory::createParameterizedHeader (   $name,
  $value = null,
  $params = array() 
)

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

Parameters
string$name
string$value
array$params
Returns
Swift_Mime_ParameterizedHeader

Implemented in Swift_Mime_SimpleHeaderFactory.

Swift_Mime_HeaderFactory::createPathHeader (   $name,
  $path = null 
)

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

Parameters
string$name
string$path
Returns
Swift_Mime_Header

Implemented in Swift_Mime_SimpleHeaderFactory.

Swift_Mime_HeaderFactory::createTextHeader (   $name,
  $value = null 
)

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

Parameters
string$name
string$value
Returns
Swift_Mime_Header

Implemented in Swift_Mime_SimpleHeaderFactory.


The documentation for this interface was generated from the following file: