[ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 /** 3 * The MIME_Viewer_pdf class simply outputs the PDF file with the content-type 4 * 'application/pdf' enabling web browsers with a PDF viewer plugin to view 5 * the PDF file inside the browser. 6 * 7 * $Horde: framework/MIME/MIME/Viewer/pdf.php,v 1.3.12.5 2006/01/01 21:28:25 jan Exp $ 8 * 9 * Copyright 2003-2006 Michael Slusarz <slusarz@bigworm.colorado.edu> 10 * 11 * See the enclosed file COPYING for license information (LGPL). If you 12 * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html. 13 * 14 * @author Michael Slusarz <slusarz@bigworm.colorado.edu> 15 * @since Horde 3.0 16 * @package Horde_MIME_Viewer 17 */ 18 class MIME_Viewer_pdf extends MIME_Viewer { 19 20 /** 21 * Return the content-type. 22 * 23 * @return string The content-type of the output. 24 */ 25 function getType() 26 { 27 return 'application/pdf'; 28 } 29 30 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |