Interface Swift_Mime_Header
A MIME Header.
Direct known implementers
Swift_Mime_Headers_AbstractHeader
,
Swift_Mime_ParameterizedHeader
Indirect known implementers
Swift_Mime_Headers_DateHeader
,
Swift_Mime_Headers_IdentificationHeader
,
Swift_Mime_Headers_MailboxHeader
,
Swift_Mime_Headers_ParameterizedHeader
,
Swift_Mime_Headers_PathHeader
,
Swift_Mime_Headers_UnstructuredHeader
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Header.php
Methods summary
public
integer
|
|
public
|
#
setFieldBodyModel( mixed $model )
Set the model for the field body. The actual types needed will vary depending upon the type of Header. |
public
|
|
public
mixed
|
#
getFieldBodyModel( )
Get the model for the field body. The return type depends on the specifics of the Header. |
public
string
|
#
getFieldName( )
Get the name of this header (e.g. Subject). The name is an identifier and as such will be immutable. |
public
string
|
|
public
string
|
Magic methods summary
Constants summary
integer |
TYPE_TEXT |
2 |
#
Text headers |
integer |
TYPE_PARAMETERIZED |
6 |
#
Parameterized headers (text + params) |
integer |
TYPE_MAILBOX |
8 |
#
Mailbox and address headers |
integer |
TYPE_DATE |
16 |
#
Date and time headers |
integer |
TYPE_ID |
32 |
#
Identification headers |
integer |
TYPE_PATH |
64 |
#
Address path headers |