Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is 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  }