The MIME_Contents:: class contains functions related to handling the output of MIME content.
$Horde: framework/MIME/MIME/Contents.php,v 1.129.4.48 2010-10-26 23:21:49 slusarz 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 /MIME/MIME/Contents.php (line 42)
The attachments list.
The number of message/rfc822 levels labeled as 'attachments' of the current part.
The base MIME_Contents object.
The MIME part id of the message body.
The MIME_Message object we use when caching.
The attachment display type to use.
List of all downloadable parts.
Show the links in the summaries?
The MIME_Message object for the message.
The MIME index key to use.
The message parts list.
The Cache_session identifier.
The summary parts list.
The summary type.
The MIME_Viewer object cache.
The actionID value for various actions.
'download' -- Downloading a part/attachment. 'view' -- Viewing a part/attachment.
Constructor.
Build the message deciding what MIME Parts to show.
Processes a MIME_Part and stores the display information in the internal class variables.
Add the current object to the cache, and return the cache identifier to be used in URLs.
Determine if we can (and know how to) inline a MIME Part.
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 a list of attachments and their contents.
Return the attachment list (HTML table format).
Return a pointer to the base object.
Returns the entire body of the message.
You probably want to override this function in any subclass.
Returns the raw text for one section of the message.
You probably want to override this function in any subclass.
Returns the cached MIME_Contents:: object.
This function should be called statically e.g.: $ptr = &MIME_Contents::getCache().
Fetch part of a MIME message and decode it, if it is base_64 or qprint encoded.
Generate the list of MIME IDs to use for download all.
Returns the data for a specific MIME index.
Return the message list (HTML table format).
Gets the MIME key override.
Returns the MIME_Message object for the mail message.
Fetch a part of a MIME message.
Get MIME_Viewer object.
Get the MIME Content-Type output by a MIME_Viewer for a particular MIME_Part.
Fetch part of a MIME message.
Generate a link to the view.php page.
Important: the calling code has to make sure that the $text parameter is properly escaped!
Generate a javascript link to the view.php page.
Important: the calling code has to make sure that the $text parameter is properly escaped!
Returns an array summarizing a part of a MIME message.
Rebuild the MIME_Part structure of a message.
You probably want to override this function in any subclass.
Removes the message text and summary for a specific MIME index.
Render MIME Part attachment info.
Sets an override for the MIME key.
Sets a summary entry.
Should we display links for the summaries?
Return the URL to the view.php page.
Are we viewing this page as an attachment through view.php? This method can also be called via MIME_Contents::viewAsAttachment().
Documentation generated on Sun, 30 Jan 2011 05:16:02 +0000 by phpDocumentor 1.4.3