Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
   1  <?php
   2  /**
   3   * Copyright 2010-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   * @author   Jan Schneider <jan@horde.org>
   9   * @category Horde
  10   * @license  http://www.horde.org/licenses/lgpl21 LGPL
  11   * @package  Exception
  12   */
  13  
  14  /**
  15   * Horde_Exception_Translation is the translation wrapper class for Horde_Exception.
  16   *
  17   * @author    Jan Schneider <jan@horde.org>
  18   * @category  Horde
  19   * @copyright 2010-2017 Horde LLC
  20   * @license   http://www.horde.org/licenses/lgpl21 LGPL
  21   * @package   Exception
  22   */
  23  class Horde_Exception_Translation extends Horde_Translation_Autodetect
  24  {
  25      /**
  26       * The translation domain
  27       *
  28       * @var string
  29       */
  30      protected static $_domain = 'Horde_Exception';
  31  
  32      /**
  33       * The absolute PEAR path to the translations for the default gettext handler.
  34       *
  35       * @var string
  36       */
  37      protected static $_pearDirectory = '@data_dir@';
  38  }