Class Zend_Mail_Message

Description
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Mail/Message.php (line 36)

Zend_Mail_Part
   |
   --Zend_Mail_Message
Variable Summary
 array $_flags
Method Summary
 Zend_Mail_Message __construct ( $params, string $rawMessage)
 array getFlags ()
 string getTopLines ()
 bool hasFlag (mixed $flag)
Variables
Methods
Constructor __construct (line 54)

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

  • throws: Zend_Mail_Exception
  • access: public
Zend_Mail_Message __construct ( $params, string $rawMessage)
  • string $rawMessage: full message with or without headers
  • array $params

Redefinition of:
Zend_Mail_Part::__construct()
Public constructor
getFlags (line 101)

get all set flags

  • return: array with flags, key and value are the same for easy lookup
  • access: public
array getFlags ()
getTopLines (line 80)

return toplines as found after headers

  • return: toplines
  • access: public
string getTopLines ()
hasFlag (line 91)

check if flag is set

  • return: true if set, otherwise false
  • access: public
bool hasFlag (mixed $flag)
  • mixed $flag: a flag name, use constants defined in Zend_Mail_Storage

Inherited Methods

Inherited From Zend_Mail_Part

 Zend_Mail_Part::__construct()
 Zend_Mail_Part::countParts()
 Zend_Mail_Part::current()
 Zend_Mail_Part::getChildren()
 Zend_Mail_Part::getContent()
 Zend_Mail_Part::getHeader()
 Zend_Mail_Part::getHeaderField()
 Zend_Mail_Part::getHeaders()
 Zend_Mail_Part::getPart()
 Zend_Mail_Part::hasChildren()
 Zend_Mail_Part::isMultipart()
 Zend_Mail_Part::key()
 Zend_Mail_Part::next()
 Zend_Mail_Part::rewind()
 Zend_Mail_Part::valid()
 Zend_Mail_Part::_cacheContent()
 Zend_Mail_Part::__get()
 Zend_Mail_Part::__toString()

Documentation generated on Wed, 28 Nov 2007 15:47:14 -0600 by phpDocumentor 1.4.0