1 <?php 2 /** 3 * Copyright 2014-2017 Horde LLC (http://www.horde.org/) 4 * 5 * See the enclosed file LICENSE for license information (LGPL). If you 6 * did not receive this file, see http://www.horde.org/licenses/lgpl21. 7 * 8 * @category Horde 9 * @copyright 2014-2017 Horde LLC 10 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 11 * @package Mime 12 */ 13 14 /** 15 * This class represents the MIME-Version header value (RFC 2046[4]). 16 * 17 * @author Michael Slusarz <slusarz@horde.org> 18 * @category Horde 19 * @copyright 2014-2017 Horde LLC 20 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 21 * @package Mime 22 * @since 2.5.0 23 */ 24 class Horde_Mime_Headers_MimeVersion 25 extends Horde_Mime_Headers_Element_Single 26 implements Horde_Mime_Headers_Extension_Mime 27 { 28 /** 29 * Creates a MIME-Version header, conforming to the MIME specification as 30 * detailed in RFC 2045. 31 * 32 * @return Horde_Mime_Headers_MimeVersion MIME-Version header object. 33 */ 34 public static function create() 35 { 36 return new self(null, '1.0'); 37 } 38 39 /** 40 */ 41 public function __construct($name, $value) 42 { 43 parent::__construct('MIME-Version', $value); 44 } 45 46 /** 47 */ 48 public static function getHandles() 49 { 50 return array( 51 // MIME: RFC 2045 52 'mime-version' 53 ); 54 } 55 56 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body