Class Zend_Mail_Message

Description

Implements interfaces:

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

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

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 57)

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 108)

get all set flags

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

Implementation of:
Zend_Mail_Message_Interface::getFlags()
get all set flags
getTopLines (line 87)

return toplines as found after headers

  • return: toplines
  • access: public
string getTopLines ()

Implementation of:
Zend_Mail_Message_Interface::getTopLines()
return toplines as found after headers
hasFlag (line 98)

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

Implementation of:
Zend_Mail_Message_Interface::hasFlag()
check if flag is set

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::getSize()
 Zend_Mail_Part::hasChildren()
 Zend_Mail_Part::headerExists()
 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::__isset()
 Zend_Mail_Part::__toString()

Documentation generated on Thu, 01 Apr 2010 13:14:55 -0400 by phpDocumentor 1.4.3