Public Member Functions | |
init () | |
__construct () | |
setPathLayouts ($value) | |
getPathLayouts () | |
setPathViews ($value) | |
getPathViews () | |
__call ($method, $params) | |
__set ($name, $value) | |
__get ($name) | |
__sleep () | |
__wakeup () | |
getView ($view, $vars=array(), $layout=null) |
Protected Attributes | |
$pathViews = 'application.views.email' | |
$pathLayouts = 'application.views.email.layouts' |
Definition at line 42 of file EMailer.php.
EMailer::__construct | ( | ) |
Constructor. Here the instance of PHPMailer is created.
Definition at line 87 of file EMailer.php.
EMailer::__call | ( | $method, | |
$params | |||
) |
Call a PHPMailer function
string | $method | the method to call |
array | $params | the parameters |
Definition at line 151 of file EMailer.php.
EMailer::__get | ( | $name | ) |
Getter
string | $name |
Definition at line 175 of file EMailer.php.
EMailer::__set | ( | $name, | |
$value | |||
) |
Setter
string | $name | the property name |
string | $value | the property value |
Definition at line 163 of file EMailer.php.
EMailer::__sleep | ( | ) |
Cleanup work before serializing. This is a PHP defined magic method.
Definition at line 186 of file EMailer.php.
EMailer::__wakeup | ( | ) |
This method will be automatically called when unserialization happens. This is a PHP defined magic method.
Definition at line 194 of file EMailer.php.
EMailer::getPathLayouts | ( | ) |
Getter
Definition at line 113 of file EMailer.php.
EMailer::getPathViews | ( | ) |
Getter
Definition at line 135 of file EMailer.php.
EMailer::getView | ( | $view, | |
$vars = array() , |
|||
$layout = null |
|||
) |
Displays an e-mail in preview mode.
string | $view | the class |
array | $vars | |
string | $layout |
Definition at line 209 of file EMailer.php.
EMailer::init | ( | ) |
EMailer::setPathLayouts | ( | $value | ) |
Setter
string | $value | pathLayouts |
Definition at line 101 of file EMailer.php.
EMailer::setPathViews | ( | $value | ) |
Setter
string | $value | pathViews |
Definition at line 123 of file EMailer.php.