FormsMailer Class Reference

Send XForms output via email. More...

Inheritance diagram for FormsMailer:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 setFormMessage ($xml="")
 Set the form message to be the output XML from an XForm.


Detailed Description

Send XForms output via email.

An extension of the Mailer class that parses the output XML of an XForm and adds it to an outgoing email.

Author:
Ismael Torres <itorres@shodor.org> (2007)

Member Function Documentation

FormsMailer::setFormMessage ( xml = ""  ) 

Set the form message to be the output XML from an XForm.

This function accepts an XML string that is the output XML from an XForm. It then parses through the XML string, formatting the name and value of each node as pretty output for email. Finally, it sets the message content to be the formatted XML output.

Parameters:
$xml [string]: Output XML from XForms


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

Generated on Wed Nov 24 02:02:22 2010 for Common by  doxygen 1.5.6