Mail/Template.php
- Classes
- Kwf_Mail_Template
\Kwf_Mail_Template
- Properties
- $_htmlTemplate
- $_mail
- $_masterTemplate
- $_txtTemplate
- $_view
- Methods
- __construct
- __get
- __isset
- __set
- __unset
- _getHtmlMailContent
- _getTextMailContent
- addAttachment
- addBcc
- addCc
- addHeader
- addTo
- assign
- getFrom
- getHeaders
- getHtmlTemplate
- getMail
- getMailContent
- getRecipients
- getReturnPath
- getSubject
- getTxtTemplate
- getView
- send
- setAttachImages
- setBodyHtml
- setBodyText
- setFrom
- setMail
- setReturnPath
- setSubject
Properties
$_htmlTemplate
$_htmlTemplate = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_mail
$_mail = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_masterTemplate
$_masterTemplate = 'null'
Details
- visibility
- protected
- default
- null
- final
- false
- static
- false
$_txtTemplate
$_txtTemplate = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_view
$_view = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
Methods
__construct
__construct(
string $template, string $masterTemplate
=
Master
)
:
constructing a Kwf_Mail_Template_View and a Kwf_Mail object.
Arguments
- $template
- string
see Kwf_Mail_Template_View - $masterTemplate
- string
see Kwf_Mail_Template_View
Details
- visibility
- public
- final
- false
- static
- false
__get
__get(
$key
)
:
Arguments
- $key
Details
- visibility
- public
- final
- false
- static
- false
__isset
__isset(
$key
)
:
Arguments
- $key
Details
- visibility
- public
- final
- false
- static
- false
__set
__set(
$key, $val
)
:
Arguments
- $key
- $val
Details
- visibility
- public
- final
- false
- static
- false
__unset
__unset(
$key
)
:
Arguments
- $key
Details
- visibility
- public
- final
- false
- static
- false
_getHtmlMailContent
_getHtmlMailContent(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
_getTextMailContent
_getTextMailContent(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
addAttachment
addAttachment(
$attachment
)
:
Arguments
- $attachment
Details
- visibility
- public
- final
- false
- static
- false
addBcc
addBcc(
$email
)
:
Arguments
Details
- visibility
- public
- final
- false
- static
- false
addCc
addCc(
$email, $name
)
:
Arguments
- $name
Details
- visibility
- public
- final
- false
- static
- false
addHeader
addHeader(
$name, $value, $append
=
false
)
:
Arguments
- $name
- $value
- $append
Details
- visibility
- public
- final
- false
- static
- false
addTo
addTo(
$email, $name
)
:
Arguments
- $name
Details
- visibility
- public
- final
- false
- static
- false
assign
assign(
$spec, $value
=
null
)
:
Arguments
- $spec
- $value
Details
- visibility
- public
- final
- false
- static
- false
getFrom
getFrom(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getHeaders
getHeaders(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getHtmlTemplate
getHtmlTemplate(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getMail
getMail(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getMailContent
getMailContent(
$type
=
Kwf_Model_Mail_Row
)
:
Arguments
- $type
Details
- visibility
- public
- final
- false
- static
- false
getRecipients
getRecipients(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getReturnPath
getReturnPath(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getSubject
getSubject(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getTxtTemplate
getTxtTemplate(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getView
getView(
)
:
Details
- visibility
- public
- final
- false
- static
- false
send
send(
$transport
=
null
)
:
Arguments
- $transport
Details
- visibility
- public
- final
- false
- static
- false
setAttachImages
setAttachImages(
$attachImages
)
:
Arguments
- $attachImages
Details
- visibility
- public
- final
- false
- static
- false
setBodyHtml
setBodyHtml(
$html
)
:
Arguments
- $html
Details
- visibility
- public
- final
- false
- static
- false
setBodyText
setBodyText(
$text
)
:
Arguments
- $text
Details
- visibility
- public
- final
- false
- static
- false
setFrom
setFrom(
$email, $name
)
:
Arguments
- $name
Details
- visibility
- public
- final
- false
- static
- false
setMail
setMail(
$mail
)
:
Arguments
Details
- visibility
- public
- final
- false
- static
- false
setReturnPath
setReturnPath(
$email
)
:
Arguments
Details
- visibility
- public
- final
- false
- static
- false
setSubject
setSubject(
$subject
)
:
Arguments
- $subject
Details
- visibility
- public
- final
- false
- static
- false