PHP Class Swift_MimePart, Halite

Author: Chris Corbyn
Inheritance: extends Swift_Mime_MimePart
Show file Open project: HaliteChallenge/Halite Class Usage Examples

Public Methods

Method Description
__construct ( string $body = null, string $contentType = null, string $charset = null ) Create a new MimePart.
newInstance ( string $body = null, string $contentType = null, string $charset = null ) : Swift_Mime_MimePart Create a new MimePart.

Method Details

__construct() public method

Details may be optionally passed into the constructor.
public __construct ( string $body = null, string $contentType = null, string $charset = null )
$body string
$contentType string
$charset string

newInstance() public static method

Create a new MimePart.
public static newInstance ( string $body = null, string $contentType = null, string $charset = null ) : Swift_Mime_MimePart
$body string
$contentType string
$charset string
return Swift_Mime_MimePart