Public Member Functions | Protected Attributes

Zend_Mail_Message Class Reference

Inheritance diagram for Zend_Mail_Message:
Zend_Mail_Part Zend_Mail_Message_Interface Zend_Mail_Part_Interface

Public Member Functions

 __construct (array $params)
 getTopLines ()
 hasFlag ($flag)
 getFlags ()

Protected Attributes

 $_flags = array()

Detailed Description

Definition at line 39 of file Message.php.


Constructor & Destructor Documentation

__construct ( array $  params )

Public constructor

In addition to the parameters of Zend_Mail_Part::__construct() this constructor supports:

  • file filename or file handle of a file with raw message content
  • flags array with flags for message, keys are ignored, use constants defined in Zend_Mail_Storage
Parameters:
string$rawMessagefull message with or without headers
Exceptions:
Zend_Mail_Exception

See also:
Zend_Mail_Exception

Reimplemented from Zend_Mail_Part.

Definition at line 57 of file Message.php.


Member Function Documentation

getFlags (  )

get all set flags

Returns:
array array with flags, key and value are the same for easy lookup

Implements Zend_Mail_Message_Interface.

Definition at line 108 of file Message.php.

getTopLines (  )

return toplines as found after headers

Returns:
string toplines

Implements Zend_Mail_Message_Interface.

Definition at line 87 of file Message.php.

hasFlag ( flag )

check if flag is set

Parameters:
mixed$flaga flag name, use constants defined in Zend_Mail_Storage
Returns:
bool true if set, otherwise false

Implements Zend_Mail_Message_Interface.

Definition at line 98 of file Message.php.


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