XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct (Swift_Mime_HeaderEncoder $encoder, Swift_Encoder $paramEncoder, $charset=null) | |
charsetChanged ($charset) | |
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) | |
Private Member Functions | |
_setHeaderCharset (Swift_Mime_Header $header) | |
Private Attributes | |
$_charset | |
$_encoder | |
$_paramEncoder | |
Definition at line 27 of file SimpleHeaderFactory.php.
Swift_Mime_SimpleHeaderFactory::__construct | ( | Swift_Mime_HeaderEncoder | $encoder, |
Swift_Encoder | $paramEncoder, | ||
$charset = null |
|||
) |
Creates a new SimpleHeaderFactory using $encoder and $paramEncoder.
Swift_Mime_HeaderEncoder | $encoder | |
Swift_Encoder | $paramEncoder | |
string | $charset |
Definition at line 45 of file SimpleHeaderFactory.php.
|
private |
Apply the charset to the Header
Definition at line 179 of file SimpleHeaderFactory.php.
References Swift_Mime_Header\setCharset().
Referenced by createDateHeader(), createIdHeader(), createMailboxHeader(), createParameterizedHeader(), createPathHeader(), and createTextHeader().
Swift_Mime_SimpleHeaderFactory::charsetChanged | ( | $charset | ) |
Notify this observer that the entity's charset has changed.
string | $charset |
Implements Swift_Mime_CharsetObserver.
Definition at line 169 of file SimpleHeaderFactory.php.
Swift_Mime_SimpleHeaderFactory::createDateHeader | ( | $name, | |
$timestamp = null |
|||
) |
Create a new Date header using $timestamp (UNIX time).
string | $name | |
int | $timestamp |
Implements Swift_Mime_HeaderFactory.
Definition at line 76 of file SimpleHeaderFactory.php.
References _setHeaderCharset().
Swift_Mime_SimpleHeaderFactory::createIdHeader | ( | $name, | |
$ids = null |
|||
) |
Create a new ID header for Message-ID or Content-ID.
string | $name | |
string | array | $ids |
Implements Swift_Mime_HeaderFactory.
Definition at line 137 of file SimpleHeaderFactory.php.
References _setHeaderCharset().
Swift_Mime_SimpleHeaderFactory::createMailboxHeader | ( | $name, | |
$addresses = null |
|||
) |
Create a new Mailbox Header with a list of $addresses.
string | $name | |
array | string | $addresses |
Implements Swift_Mime_HeaderFactory.
Definition at line 59 of file SimpleHeaderFactory.php.
References _setHeaderCharset().
Swift_Mime_SimpleHeaderFactory::createParameterizedHeader | ( | $name, | |
$value = null , |
|||
$params = array() |
|||
) |
Create a new ParameterizedHeader with $name, $value and $params.
string | $name | |
string | $value | |
array | $params |
Implements Swift_Mime_HeaderFactory.
Definition at line 111 of file SimpleHeaderFactory.php.
References _setHeaderCharset().
Swift_Mime_SimpleHeaderFactory::createPathHeader | ( | $name, | |
$path = null |
|||
) |
Create a new Path header with an address (path) in it.
string | $name | |
string | $path |
Implements Swift_Mime_HeaderFactory.
Definition at line 154 of file SimpleHeaderFactory.php.
References $path, and _setHeaderCharset().
Swift_Mime_SimpleHeaderFactory::createTextHeader | ( | $name, | |
$value = null |
|||
) |
Create a new basic text header with $name and $value.
string | $name | |
string | $value |
Implements Swift_Mime_HeaderFactory.
Definition at line 93 of file SimpleHeaderFactory.php.
References _setHeaderCharset().
|
private |
The charset of created Headers
Definition at line 37 of file SimpleHeaderFactory.php.
|
private |
The HeaderEncoder used by these headers
Definition at line 31 of file SimpleHeaderFactory.php.
|
private |
The Encoder used by parameters
Definition at line 34 of file SimpleHeaderFactory.php.