PHP Class Swift_Mime_Headers_OpenDKIMHeader

Author: De Cock Xavier ([email protected])
Inheritance: implements Swift_Mime_Header
Show file Open project: swiftmailer/swiftmailer Class Usage Examples

Public Methods

Method Description
__construct ( string $name )
getFieldBody ( ) : string Get the value of this header prepared for rendering.
getFieldBodyModel ( ) : string Get the model for the field body.
getFieldName ( ) Set the Header FieldName.
getFieldType ( ) : integer Get the type of Header that this instance represents.
getValue ( ) : string Get the (unencoded) value of this header.
setCharset ( $charset ) Ignored.
setFieldBodyModel ( string $model ) Set the model for the field body.
setValue ( string $value ) Set the (unencoded) value of this header.
toString ( ) : string Get this Header rendered as a RFC 2822 compliant string.

Method Details

__construct() public method

public __construct ( string $name )
$name string

getFieldBody() public method

Get the value of this header prepared for rendering.
public getFieldBody ( ) : string
return string

getFieldBodyModel() public method

This method returns a string.
public getFieldBodyModel ( ) : string
return string

getFieldName() public method

Set the Header FieldName.
See also: Swift_Mime_Header::getFieldName()
public getFieldName ( )

getFieldType() public method

Get the type of Header that this instance represents.
public getFieldType ( ) : integer
return integer

getValue() public method

Get the (unencoded) value of this header.
public getValue ( ) : string
return string

setCharset() public method

Ignored.
public setCharset ( $charset )

setFieldBodyModel() public method

This method takes a string for the field value.
public setFieldBodyModel ( string $model )
$model string

setValue() public method

Set the (unencoded) value of this header.
public setValue ( string $value )
$value string

toString() public method

Get this Header rendered as a RFC 2822 compliant string.
public toString ( ) : string
return string