Mail/Template/View.php
- Classes
- Kwf_Mail_Template_View
\Kwf_Mail_Template_View
- Extends from
- \Kwf_View_Mail
- Properties
- $_htmlTemplate
- $_mailTplViewMasterTemplate
- $_txtTemplate
- Methods
- __construct
- getHtmlTemplate
- getTxtTemplate
- renderHtml
- renderText
Properties
$_htmlTemplate
$_htmlTemplate = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_mailTplViewMasterTemplate
$_mailTplViewMasterTemplate = 'null'
Details
- visibility
- protected
- default
- null
- final
- false
- static
- false
$_txtTemplate
$_txtTemplate = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
Methods
__construct
__construct(
$template, string $masterTemplate
=
Master
)
:
Create a .txt.tpl or .html.tpl file and set $template to the path.
Arguments
- $template
- $masterTemplate
- string
Details
- visibility
- public
- final
- false
- static
- false
getHtmlTemplate
getHtmlTemplate(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getTxtTemplate
getTxtTemplate(
)
:
Details
- visibility
- public
- final
- false
- static
- false
renderHtml
renderHtml(
)
:
Details
- visibility
- public
- final
- false
- static
- false
renderText
renderText(
)
:
Details
- visibility
- public
- final
- false
- static
- false