Свойство | Тип | Описание | |
---|---|---|---|
$config | array | ||
$mailer | Swift_Mailer | ||
$transport | Swift_Transport | ||
$view | Phalcon\Mvc\View\Simple |
Метод | Описание | |
---|---|---|
__construct ( array $config ) | Create a new MailerManager component using $config for configuring | |
createMessage ( ) : |
Create a new Message instance. | |
createMessageFromView ( string $view, array $params = [], null | string $viewsDir = null ) : |
Create a new Message instance. | |
getSwift ( ) : Swift_Mailer | Return a {@link \Swift_Mailer} instance | |
normalizeEmail ( $email ) : string | Normalize IDN domains. |
Метод | Описание | |
---|---|---|
configure ( array $config ) | Configure MailerManager class | |
getConfig ( null $key = null, null $default = null ) : string | array | Get option config or the entire array of config, if the parameter $key is not specified. | |
getView ( ) : Phalcon\Mvc\View\Simple | Return a {@link \Phalcon\Mvc\View\Simple} instance | |
punycode ( $str ) : string | Convert UTF-8 encoded domain name to ASCII | |
registerSwiftMailer ( ) | Register SwiftMailer | |
registerSwiftTransport ( ) | Create a new Driver-mail of SwiftTransport instance. | |
registerTransportMail ( ) : Swift_MailTransport | Create a new MailTransport instance. | |
registerTransportSendmail ( ) : Swift_SendmailTransport | Create a new SendmailTransport instance. | |
registerTransportSmtp ( ) : Swift_SmtpTransport | Create a new SmtpTransport instance. | |
renderView ( $viewPath, $params, null $viewsDir = null ) : string | Renders a view |
public __construct ( array $config ) | ||
$config | array |
public createMessage ( ) : |
||
Результат |
public getSwift ( ) : Swift_Mailer | ||
Результат | Swift_Mailer |
protected getView ( ) : Phalcon\Mvc\View\Simple | ||
Результат | Phalcon\Mvc\View\Simple |
public normalizeEmail ( $email ) : string | ||
Результат | string |
protected registerSwiftTransport ( ) |
protected registerTransportMail ( ) : Swift_MailTransport | ||
Результат | Swift_MailTransport |
protected registerTransportSendmail ( ) : Swift_SendmailTransport | ||
Результат | Swift_SendmailTransport |
protected registerTransportSmtp ( ) : Swift_SmtpTransport | ||
Результат | Swift_SmtpTransport |
protected renderView ( $viewPath, $params, null $viewsDir = null ) : string | ||
$viewPath | ||
$params | ||
$viewsDir | null | |
Результат | string |