Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
   1  <?php
   2  /**
   3   * Copyright 2015-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 2015-2017 Horde LLC
  10   * @license   http://www.horde.org/licenses/lgpl21 LGPL 2.1
  11   * @package   Mime
  12   */
  13  
  14  /**
  15   * This class handles all MIME headers that don't have a specific class
  16   * defined for them.
  17   *
  18   * @author    Michael Slusarz <slusarz@horde.org>
  19   * @category  Horde
  20   * @copyright 2015-2017 Horde LLC
  21   * @license   http://www.horde.org/licenses/lgpl21 LGPL 2.1
  22   * @package   Mime
  23   * @since     2.8.0
  24   */
  25  class Horde_Mime_Headers_Mime
  26  extends Horde_Mime_Headers_Element_Single
  27  implements Horde_Mime_Headers_Extension_Mime
  28  {
  29      /**
  30       */
  31      public static function getHandles()
  32      {
  33          return array(
  34              // MIME: RFC 1864
  35              'content-md5',
  36              // MIME: RFC 2110
  37              'content-base',
  38              // MIME: RFC 2424
  39              'content-duration',
  40              // MIME: RFC 2557
  41              'content-location',
  42              // MIME: RFC 2912 [3]
  43              'content-features',
  44              // MIME: RFC 3297
  45              'content-alternative'
  46          );
  47      }
  48  
  49  }