>> YANA 4 PHP Framework >> Docs For Class FormMailer

Class FormMailer

Description

create and send mails from form data

  • access: public

Located in /includes/class_formmailer.php

Object
   |
   --FormMailer
Variable Summary
array $content
string $footline
string $headline
string $subject
Method Summary
  • FormMailer FormMailer ()
  • string equals (object $another_object)
  • boolean mail (string $recipient, string $subject, array &$formdata)
  • boolean send (string $recipient)

Variables

array $content = array()
  • access: public
string $footline = ""
  • access: public
string $headline = ""
  • access: public
string $subject = ""
  • access: public

Methods

constructor
FormMailer FormMailer ()
Description:

Creates a new instance of this class.

compare with another object
string equals (
object $another_object
)
List of parameters:
Name Type Description
$another_object object
Description:

Returns bool(true) if this object and $another_object are equal and bool(false) otherwise.

Two instances are considered equal if and only if they are both objects of the same class and their attributes are equal.

  • access: public

Redefinition of: Object::equals()

create an automatically formated e.mail from an array of form data
boolean mail (
string $recipient, string $subject, array &$formdata
)
List of parameters:
Name Type Description
$recipient string
$subject string
&$formdata array
Description:
  • since: Version 2.8
  • access: public
send an e-mail
boolean send (
string $recipient
)
List of parameters:
Name Type Description
$recipient string
Description:
  • access: public
inherited from base classes

Inherited From Object

Documentation generated on Wed, 22 Nov 2006 20:19:06 +0100 by phpDocumentor 1.3.1

yana author: Thomas MeyerHomepage: www.all-community.de/pub