Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.
   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 identification headers (RFC 5322 [3.6.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_Identification
  25  extends Horde_Mime_Headers_Element_Single
  26  {
  27      /**
  28       * Get the identification object for the header value.
  29       *
  30       * @return Horde_Mail_Rfc822_Identification  Identification object.
  31       */
  32      public function getIdentificationOb()
  33      {
  34          return new Horde_Mail_Rfc822_Identification($this->value);
  35      }
  36  
  37      /**
  38       */
  39      public static function getHandles()
  40      {
  41          return array(
  42              // Mail: RFC 5322
  43              'in-reply-to',
  44              'references'
  45          );
  46      }
  47  
  48  }