Method | Description | |
---|---|---|
__construct ( string $name, Swift_Mime_Grammar $grammar ) | Creates a new DateHeader with $name and $timestamp. | |
getFieldBody ( ) : string | Get the string value of the body in this Header. | |
getFieldBodyModel ( ) : mixed | Get the model for the field body. | |
getFieldType ( ) : integer | Get the type of Header that this instance represents. | |
getTimestamp ( ) : integer | Get the UNIX timestamp of the Date in this Header. | |
setFieldBodyModel ( integer $model ) | Set the model for the field body. | |
setTimestamp ( integer $timestamp ) | Set the UNIX timestamp of the Date in this Header. |
public __construct ( string $name, Swift_Mime_Grammar $grammar ) | ||
$name | string | of Header |
$grammar | Swift_Mime_Grammar |
public getFieldBody ( ) : string | ||
return | string |
public getFieldBodyModel ( ) : mixed | ||
return | mixed |
public getFieldType ( ) : integer | ||
return | integer |
public getTimestamp ( ) : integer | ||
return | integer |
public setFieldBodyModel ( integer $model ) | ||
$model | integer |
public setTimestamp ( integer $timestamp ) | ||
$timestamp | integer |