#include <tactionmailer.h>
|
bool | deliver (const QString &templateName="mail") |
|
virtual TSession & | session () |
|
virtual bool | addCookie (const TCookie &cookie) |
|
virtual bool | addCookie (const QByteArray &name, const QByteArray &value, const QDateTime &expire=QDateTime(), const QString &path=QString(), const QString &domain=QString(), bool secure=false, bool httpOnly=false, const QByteArray &sameSite="Lax") |
|
virtual bool | addCookie (const QByteArray &name, const QByteArray &value, int64_t maxAge, const QString &path=QString(), const QString &domain=QString(), bool secure=false, bool httpOnly=false, const QByteArray &sameSite="Lax") |
|
virtual void | reset () |
|
QVariant | variant (const QString &name) const |
|
void | exportVariants (const QVariantMap &map) |
|
void | exportValidationErrors (const TFormValidator &validator, const QString &prefix=QString("err_")) |
|
bool | hasVariant (const QString &name) const |
|
const QVariantMap & | allVariants () const |
|
QString | viewClassName (const QString &action=QString()) const |
|
QString | viewClassName (const QString &contoller, const QString &action) const |
|
The TActionMailer class provides a mail client on action controller.
◆ TActionMailer()
TActionMailer::TActionMailer |
( |
| ) |
|
◆ ~TActionMailer()
virtual TActionMailer::~TActionMailer |
( |
| ) |
|
|
inlinevirtual |
◆ activeAction()
QString TActionMailer::activeAction |
( |
| ) |
const |
|
virtual |
◆ deliver()
bool TActionMailer::deliver |
( |
const QString & |
templateName = "mail" | ) |
|
|
protected |
Delivers an email generated by setting variables to the specified template.
◆ name()
QString TActionMailer::name |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: