Property | Type | Description | |
---|---|---|---|
$locale | string | ||
$preventMailMerge | boolean | ||
$translator | Symfony\Component\Translation\TranslatorInterface |
Method | Description | |
---|---|---|
__construct ( Swift_Mailer $mailer, string $mailSender, string $mailSenderName, Symfony\Bridge\Doctrine\RegistryInterface $registry, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, string $locale, Symfony\Component\Translation\TranslatorInterface $translator, boolean $preventMailMerge = false ) | OjsMailer constructor. | |
currentUser ( ) : |
||
getAdminUsers ( ) : Doctrine\Common\Collections\Collection | ||
getEventByName ( $eventName, null $lang = null, |
||
getJournalRelatedUsers ( ) : mixed | ||
send ( string $subject, string $body, string $toMail, string $toName ) | ||
sendToUser ( |
||
transformTemplate ( $template, $transformParams = [] ) |
public __construct ( Swift_Mailer $mailer, string $mailSender, string $mailSenderName, Symfony\Bridge\Doctrine\RegistryInterface $registry, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, string $locale, Symfony\Component\Translation\TranslatorInterface $translator, boolean $preventMailMerge = false ) | ||
$mailer | Swift_Mailer | |
$mailSender | string | |
$mailSenderName | string | |
$registry | Symfony\Bridge\Doctrine\RegistryInterface | |
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | |
$locale | string | |
$translator | Symfony\Component\Translation\TranslatorInterface | |
$preventMailMerge | boolean |
public getAdminUsers ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection | | User[] |
public getEventByName ( $eventName, null $lang = null, |
||
$eventName | ||
$lang | null | |
$journal | ||
return |
public sendToUser ( |
||
$user | ||
$subject | string | |
$body | string |