TreeFrogFramework  1.18
Public Member Functions | Protected Member Functions | List of all members
TActionMailer Class Reference

#include <tactionmailer.h>

Inheritance diagram for TActionMailer:
Inheritance graph
[legend]
Collaboration diagram for TActionMailer:
Collaboration graph
[legend]

Public Member Functions

 TActionMailer ()
 
virtual ~TActionMailer ()
 
virtual QString name () const
 
virtual QString activeAction () const
 
- Public Member Functions inherited from TAbstractController
 TAbstractController ()
 
virtual ~TAbstractController ()
 

Protected Member Functions

bool deliver (const QString &templateName="mail")
 
- Protected Member Functions inherited from TAbstractController
QVariant variant (const QString &name) const
 
void exportVariant (const QString &name, const QVariant &value, bool overwrite=true)
 
void exportValidationErrors (const TFormValidator &validator, const QString &prefix=QString("err_"))
 
bool hasVariant (const QString &name) const
 
void exportVariants (const QVariantMap &map)
 
const QVariantMap & allVariants () const
 
QString viewClassName (const QString &action=QString()) const
 
QString viewClassName (const QString &contoller, const QString &action) const
 

Detailed Description

The TActionMailer class provides a mail client on action controller.

Constructor & Destructor Documentation

TActionMailer::TActionMailer ( )

Constructor.

virtual TActionMailer::~TActionMailer ( )
inlinevirtual

Member Function Documentation

QString TActionMailer::activeAction ( ) const
virtual

Returns a active action name, "mail".

Implements TAbstractController.

bool TActionMailer::deliver ( const QString &  templateName = "mail")
protected

Delivers an email generated by setting variables to the specified template.

QString TActionMailer::name ( ) const
virtual

Returns the controller name, "mailer".

Implements TAbstractController.


The documentation for this class was generated from the following files: