PHP Class AcMailer\Options\MessageOptions

Author: Alejandro Celaya Alastrué
Inheritance: extends Zend\Stdlib\AbstractOptions
显示文件 Open project: acelaya/zf2-acmailer Class Usage Examples

Protected Properties

Property Type Description
$attachments AcMailer\Options\AttachmentsOptions
$bcc array
$body AcMailer\Options\BodyOptions
$cc array
$encoding string
$from string
$fromName string
$replyTo string
$replyToName string
$subject string
$to array

Public Methods

Method Description
getAttachments ( ) : AcMailer\Options\AttachmentsOptions
getBcc ( ) : array
getBody ( ) : AcMailer\Options\BodyOptions
getCc ( ) : array
getEncoding ( ) : string
getFrom ( ) : string
getFromName ( ) : string
getReplyTo ( ) : string
getReplyToName ( ) : string
getSubject ( ) : string
getTo ( ) : array
setAttachments ( AcMailer\Options\AttachmentsOptions | array $attachments )
setBcc ( string | array $bcc )
setBody ( AcMailer\Options\BodyOptions | array $body )
setCc ( array | string $cc )
setEncoding ( string $encoding )
setFrom ( string $from )
setFromName ( string $fromName )
setReplyTo ( string $replyTo )
setReplyToName ( string $replyToName )
setSubject ( string $subject )
setTo ( array | string $to )

Method Details

getAttachments() public method

public getAttachments ( ) : AcMailer\Options\AttachmentsOptions
return AcMailer\Options\AttachmentsOptions

getBcc() public method

public getBcc ( ) : array
return array

getBody() public method

public getBody ( ) : AcMailer\Options\BodyOptions
return AcMailer\Options\BodyOptions

getCc() public method

public getCc ( ) : array
return array

getEncoding() public method

public getEncoding ( ) : string
return string

getFrom() public method

public getFrom ( ) : string
return string

getFromName() public method

public getFromName ( ) : string
return string

getReplyTo() public method

public getReplyTo ( ) : string
return string

getReplyToName() public method

public getReplyToName ( ) : string
return string

getSubject() public method

public getSubject ( ) : string
return string

getTo() public method

public getTo ( ) : array
return array

setAttachments() public method

public setAttachments ( AcMailer\Options\AttachmentsOptions | array $attachments )
$attachments AcMailer\Options\AttachmentsOptions | array

setBcc() public method

public setBcc ( string | array $bcc )
$bcc string | array

setBody() public method

public setBody ( AcMailer\Options\BodyOptions | array $body )
$body AcMailer\Options\BodyOptions | array

setCc() public method

public setCc ( array | string $cc )
$cc array | string

setEncoding() public method

public setEncoding ( string $encoding )
$encoding string

setFrom() public method

public setFrom ( string $from )
$from string

setFromName() public method

public setFromName ( string $fromName )
$fromName string

setReplyTo() public method

public setReplyTo ( string $replyTo )
$replyTo string

setReplyToName() public method

public setReplyToName ( string $replyToName )
$replyToName string

setSubject() public method

public setSubject ( string $subject )
$subject string

setTo() public method

public setTo ( array | string $to )
$to array | string

Property Details

$attachments protected_oe property

protected AttachmentsOptions,AcMailer\Options $attachments
return AcMailer\Options\AttachmentsOptions

$bcc protected_oe property

protected array $bcc
return array

$body protected_oe property

protected BodyOptions,AcMailer\Options $body
return AcMailer\Options\BodyOptions

$cc protected_oe property

protected array $cc
return array

$encoding protected_oe property

protected string $encoding
return string

$from protected_oe property

protected string $from
return string

$fromName protected_oe property

protected string $fromName
return string

$replyTo protected_oe property

protected string $replyTo
return string

$replyToName protected_oe property

protected string $replyToName
return string

$subject protected_oe property

protected string $subject
return string

$to protected_oe property

protected array $to
return array