Class MIMP_MIME_Viewer_alternative

Description

The MIMP_MIME_Viewer_alternative class renders out messages multipart/alternative content types.

$Horde: mimp/lib/MIME/Viewer/alternative.php,v 1.17.2.4 2009/01/06 15:24:54 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/Viewer/alternative.php (line 16)

MIME_Viewer
   |
   --MIMP_MIME_Viewer_alternative
Variable Summary
 string $_altID
 string $_contentType
Method Summary
 string getType ()
 void render ( $params)
Variables
string $_altID = '-' (line 31)

The alternative ID for this part.

string $_contentType = 'application/octet-stream' (line 24)

The content-type of the preferred part.

Default: application/octet-stream

Methods
getType (line 147)

Return the content-type.

  • return: The content-type of the message. Returns 'application/octet-stream' until actual content type of the message can be determined.
string getType ()
render (line 39)

Render out the currently set contents.

The $mime_part class variable has the information to render out, encapsulated in a MIME_Part object.

void render ( $params)
  • $params

Documentation generated on Sun, 30 Jan 2011 05:32:51 +0000 by phpDocumentor 1.4.3