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.

Differences Between: [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Redis Cache Store - English language strings
  19   *
  20   * @package   cachestore_redis
  21   * @copyright 2013 Adam Durana
  22   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  defined('MOODLE_INTERNAL') || die();
  26  
  27  $string['compressor_none'] = 'No compression.';
  28  $string['compressor_php_gzip'] = 'Use gzip compression.';
  29  $string['compressor_php_zstd'] = 'Use Zstandard compression.';
  30  $string['pluginname'] = 'Redis';
  31  $string['prefix'] = 'Key prefix';
  32  $string['prefix_help'] = 'This prefix is used for all key names on the Redis server.
  33  * If you only have one Moodle instance using this server, you can leave this value default.
  34  * Due to key length restrictions, a maximum of 5 characters is permitted.';
  35  $string['prefixinvalid'] = 'Invalid prefix. You can only use a-z A-Z 0-9-_.';
  36  $string['privacy:metadata:redis'] = 'The Redis cachestore plugin stores data briefly as part of its caching functionality. This data is stored on an Redis server where data is regularly removed.';
  37  $string['privacy:metadata:redis:data'] = 'The various data stored in the cache';
  38  $string['serializer_igbinary'] = 'The igbinary serializer.';
  39  $string['serializer_php'] = 'The default PHP serializer.';
  40  $string['server'] = 'Server';
  41  $string['server_help'] = 'This sets the hostname or IP address of the Redis server to use.';
  42  $string['password'] = 'Password';
  43  $string['password_help'] = 'This sets the password of the Redis server.';
  44  $string['test_server'] = 'Test server';
  45  $string['test_server_desc'] = 'Redis server to use for testing.';
  46  $string['test_password'] = 'Test server password';
  47  $string['test_password_desc'] = 'Redis test server password.';
  48  $string['test_serializer'] = 'Serializer';
  49  $string['test_serializer_desc'] = 'Serializer to use for testing.';
  50  $string['useserializer'] = 'Use serializer';
  51  $string['useserializer_help'] = 'Specifies the serializer to use for serializing.
  52  The valid serializers are Redis::SERIALIZER_PHP or Redis::SERIALIZER_IGBINARY.
  53  The latter is supported only when phpredis is configured with --enable-redis-igbinary option and the igbinary extension is loaded.';
  54  $string['usecompressor'] = 'Use compressor';
  55  $string['usecompressor_help'] = 'Specifies the compressor to use after serializing. It is done at Moodle Cache API level, not at php-redis level.';