Public Member Functions | Protected Attributes

Zend_Mail_Message_File Class Reference

Inheritance diagram for Zend_Mail_Message_File:
Zend_Mail_Part_File Zend_Mail_Message_Interface Zend_Mail_Part 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 File.php.


Constructor & Destructor Documentation

__construct ( array $  params )

Public constructor

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

  • 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

Reimplemented from Zend_Mail_Part_File.

Definition at line 56 of file File.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 92 of file File.php.

getTopLines (  )

return toplines as found after headers

Returns:
string toplines

Implements Zend_Mail_Message_Interface.

Definition at line 71 of file File.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 82 of file File.php.


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