Inheritance diagram for GenieGate_View_Mail:


Public Member Functions | |
| GenieGate_View_Mail ($to, $php) | |
| Constructor. | |
| subject ($subject=FALSE) | |
| get-set the subject. | |
| headers ($headers=FALSE) | |
| Set any additional headers. | |
| page ($php=FALSE) | |
| get-set the PHP page used for display. | |
| to ($to=FALSE) | |
| Get/Set the To: of the email. | |
| display () | |
| Display sends output of $php to mail(), so mail is treated much like any other PHP document. | |
| param ($param=FALSE, $value=FALSE) | |
| Get/Set a named parameter. | |
| getLink ($qry=array()) | |
| Returns a link to this page. | |
This view is implemented using PHP's mail() function, it is designed as a view to make it "fit in" with the other View classes, and to provide a regular templating system for email.
PHP is rather known for having email problems, so all functionality that involves email should be centralized here to make it easy to "fix" PHP's mail() for a given host that lacks email support.
Definition at line 16 of file Mail.php.
|
||||||||||||
|
Constructor. The $php parameter is used to create the body of the message. From within that PHP document, functions like subject() are available.
|
|
|
Display sends output of $php to mail(), so mail is treated much like any other PHP document.
Reimplemented from GenieGate_View. Definition at line 97 of file Mail.php. References subject(). |
|
|
Returns a link to this page.
|
|
|
Set any additional headers.
|
|
|
get-set the PHP page used for display. (For reasons that are obvious, one should probably not set this within the old page) Definition at line 64 of file Mail.php. Referenced by GenieGate_View_Mail(). |
|
||||||||||||
|
Get/Set a named parameter. With no parameters, returns an associative array of all the available parameters. (Same as $view->PARAM, but encapsulated) With 1 parameter, ($param) just returns the value of the named parameter. With 2 parameters, assigns $param a new value (returns old value).
Definition at line 36 of file View.php. Referenced by GenieGate_View_XMLExport::display(). |
|
|
get-set the subject.
Definition at line 40 of file Mail.php. Referenced by display(). |
|
|
Get/Set the To: of the email.
The to: has all [, Definition at line 79 of file Mail.php. Referenced by GenieGate_View_Mail(). |
Documentation generated by DoxyGen