[ Index ] |
|
Code source de IMP H3 (4.1.5) |
1 <?php 2 /** 3 * The IMP_MIME_Viewer_multipart class handles multipart messages not 4 * rendered by any specific MIME_Viewer. 5 * 6 * $Horde: imp/lib/MIME/Viewer/multipart.php,v 1.13.10.7 2007/01/02 13:55:00 jan Exp $ 7 * 8 * Copyright 2002-2007 Michael Slusarz <slusarz@bigworm.colorado.edu> 9 * 10 * See the enclosed file COPYING for license information (GPL). If you 11 * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. 12 * 13 * @author Michael Slusarz <slusarz@bigworm.colorado.edu> 14 * @since IMP 4.0 15 * @package Horde_MIME_Viewer 16 */ 17 class IMP_MIME_Viewer_multipart extends MIME_Viewer { 18 19 /** 20 * Render out the currently set contents. 21 * 22 * @param array $params An array with a reference to a MIME_Contents 23 * object. 24 * 25 * @return string The rendered text in HTML. 26 */ 27 function render($params) 28 { 29 $contents = &$params[0]; 30 31 foreach ($this->mime_part->getParts() as $part) { 32 $contents->buildMessagePart($part); 33 } 34 } 35 36 /** 37 * Return the content-type. 38 * 39 * @return string The content-type of the message. 40 */ 41 function getType() 42 { 43 return 'text/html; charset=' . NLS::getCharset(); 44 } 45 46 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |