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.

Differences Between: [Versions 310 and 400] [Versions 311 and 400] [Versions 39 and 400] [Versions 400 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['task_ttl'] = 'Free up memory used by expired entries in Redis caches';
  45  $string['test_server'] = 'Test server';
  46  $string['test_server_desc'] = 'Redis server to use for testing.';
  47  $string['test_password'] = 'Test server password';
  48  $string['test_password_desc'] = 'Redis test server password.';
  49  $string['test_serializer'] = 'Serializer';
  50  $string['test_serializer_desc'] = 'Serializer to use for testing.';
  51  $string['test_ttl'] = 'Testing TTL';
  52  $string['test_ttl_desc'] = 'Run the performance test using a cache that requires TTL (slower sets).';
  53  $string['useserializer'] = 'Use serializer';
  54  $string['useserializer_help'] = 'Specifies the serializer to use for serializing.
  55  The valid serializers are Redis::SERIALIZER_PHP or Redis::SERIALIZER_IGBINARY.
  56  The latter is supported only when phpredis is configured with --enable-redis-igbinary option and the igbinary extension is loaded.';
  57  $string['usecompressor'] = 'Use compressor';
  58  $string['usecompressor_help'] = 'Specifies the compressor to use after serializing. It is done at Moodle Cache API level, not at php-redis level.';