Method | Description | |
---|---|---|
__construct ( string $main, string $alternative = '' ) | Creates email body. | |
getAlternative ( ) : string | Returns alternative body contents. | |
getMain ( ) : string | Returns main body contents. | |
isHtml ( ) : boolean | Returns if the contents is in HTML format. | |
setAlternative ( string $alternative ) : self | Sets alternative body contents. | |
setMain ( string $main ) : self | Sets main body contents. |
public __construct ( string $main, string $alternative = '' ) | ||
$main | string | Main contents |
$alternative | string | Alternative contents |
public getAlternative ( ) : string | ||
return | string |
public setAlternative ( string $alternative ) : self | ||
$alternative | string | Contents |
return | self |