The IMP_Contents:: class extends the MIME_Contents:: class and contains all functions related to handling the content and output of mail messages in IMP.
$Horde: imp/lib/MIME/Contents.php,v 1.153.4.61 2009/01/06 15:24:09 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/MIME/Contents.php (line 32)
MIME_Contents | --IMP_Contents
The text of the body of the message.
The text of various MIME body parts.
The MIME part id of the message body.
List of all downloadable parts.
The IMAP index of the message.
The mailbox of the current message.
Should attachment stripping links be generated?
Constructor.
Return the attachment count.
Processes a MIME_Part and stores the display information in the internal class variables.
Finds the main "body" text part (if any) in a message.
"Body" data is the first text part in the base MIME part.
Prints out the status message for a given MIME Part.
Returns the full message text.
Returns the entire body of the message.
Gets the raw text for one section of the message.
Generate a download all link, if possible.
Generate the list of MIME IDs to use for download all.
Get the from address of the message.
Returns the IMAP index for the current message.
Returns the IMAP mailbox for the current message.
Fetch part of a MIME message.
Generate a link to the view.php page.
Returns an array summarizing a part of a MIME message.
Rebuild the MIME_Part structure of a message from IMAP data.
This will store IMAP data in all parts of the message - for example, all data for a multipart/mixed part will be stored in the base part, and each part will contain its own data. Note that if you want to build a message string from the MIME_Part data after calling rebuildMessage(), you should use IMP_Contents::toString() instead of MIME_Part::toString().
Remove all attachment entries for the given part.
TODO: This is a total hack to tide us over to Horde 4.0.
Render a MIME Part.
Allow attachments to be stripped by providing a link in summary view?
Attempts to return a reference to a concrete IMP_Contents instance.
If an IMP_Contents object is currently stored in the local cache, recreate that object. Else, create a new instance. Ensures that only one IMP_Contents instance for any given message is available at any one time.
This method must be invoked as: $imp_contents = &IMP_Contents::singleton($in);
Create a message string from a MIME message that has used rebuildMessage() to build the data from the IMAP server.
Return the URL to the view.php page.
Documentation generated on Sun, 30 Jan 2011 05:28:10 +0000 by phpDocumentor 1.4.3