Wexus2 0.20
wexus::ControllerContext Class Reference

#include <Controller.h>

Inheritance diagram for wexus::ControllerContext:

List of all members.

Public Member Functions

 ControllerContext (void)
QTextStream & output (void)
QTextStream & htmlOutput (void)

Public Attributes

QVariantMap & params
Cookiescookies
QVariantMap & session
const QVariantMap & flash
QVariantMap & setFlash
Context::Errors & errors

Detailed Description

This contains useful input/output functions that are part of Controller.

It basically reflects a lot of the methods of the Context TLS global into the Controller itself.

Author:
Aleksander Demko

Constructor & Destructor Documentation

wexus::ControllerContext::ControllerContext ( void  )

Constructor.

Author:
Aleksander Demko

Member Function Documentation

QTextStream& wexus::ControllerContext::htmlOutput ( void  ) [inline]

Returns a stream that HTML escapes all output (except HTMLString).

Author:
Aleksander Demko
QTextStream& wexus::ControllerContext::output ( void  ) [inline]

Returns the raw output stream.

Author:
Aleksander Demko

Member Data Documentation

The cookies.

Author:
Aleksander Demko

Errors.

Author:
Aleksander Demko
const QVariantMap& wexus::ControllerContext::flash

The incoming flash sent by the previous calls.

Author:
Aleksander Demko

The form parameters. Object directly accessible so operator[] works.

Author:
Aleksander Demko

The session, if any.

Author:
Aleksander Demko

The flash that will be preseved for the next calls. In the next call, this will be the contents of inFlash.

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator