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  // 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   * Strings for component 'enrol_database', language 'en'.
  19   *
  20   * @package   enrol_database
  21   * @copyright 1999 onwards Martin Dougiamas  {@link http://moodle.com}
  22   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['database:config'] = 'Configure database enrol instances';
  26  $string['database:unenrol'] = 'Unenrol suspended users';
  27  $string['dbencoding'] = 'Database encoding';
  28  $string['dbhost'] = 'Database host';
  29  $string['dbhost_desc'] = 'Type database server IP address or host name. Use a system DSN name if using ODBC. Use a PDO DSN if using PDO.';
  30  $string['dbname'] = 'Database name';
  31  $string['dbname_desc'] = 'Leave empty if using a DSN name in database host.';
  32  $string['dbpass'] = 'Database password';
  33  $string['dbsetupsql'] = 'Database setup command';
  34  $string['dbsetupsql_desc'] = 'SQL command for special database setup, often used to setup communication encoding - example for MySQL and PostgreSQL: <em>SET NAMES \'utf8\'</em>';
  35  $string['dbsybasequoting'] = 'Use sybase quotes';
  36  $string['dbsybasequoting_desc'] = 'Sybase style single quote escaping - needed for Oracle, MS SQL and some other databases. Do not use for MySQL!';
  37  $string['dbtype'] = 'Database driver';
  38  $string['dbtype_desc'] = 'ADOdb database driver name, type of the external database engine.';
  39  $string['dbuser'] = 'Database user';
  40  $string['debugdb'] = 'Debug ADOdb';
  41  $string['debugdb_desc'] = 'Debug ADOdb connection to external database - use when getting empty page during login. Not suitable for production sites!';
  42  $string['defaultcategory'] = 'Default new course category';
  43  $string['defaultcategory_desc'] = 'The default category for auto-created courses. Used when no new category id specified or not found.';
  44  $string['defaultrole'] = 'Default role';
  45  $string['defaultrole_desc'] = 'The role that will be assigned by default if no other role is specified in external table.';
  46  $string['ignorehiddencourses'] = 'Ignore hidden courses';
  47  $string['ignorehiddencourses_desc'] = 'If enabled users will not be enrolled on courses that are set to be unavailable to students.';
  48  $string['localcategoryfield'] = 'Local category field';
  49  $string['localcoursefield'] = 'Local course field';
  50  $string['localrolefield'] = 'Local role field';
  51  $string['localuserfield'] = 'Local user field';
  52  $string['newcoursetable'] = 'Remote new courses table';
  53  $string['newcoursetable_desc'] = 'Specify of the name of the table that contains list of courses that should be created automatically. Empty means no courses are created.';
  54  $string['newcoursecategory'] = 'New course category field';
  55  $string['newcoursefullname'] = 'New course full name field';
  56  $string['newcourseidnumber'] = 'New course ID number field';
  57  $string['newcourseshortname'] = 'New course short name field';
  58  $string['pluginname'] = 'External database';
  59  $string['pluginname_desc'] = 'You can use an external database (of nearly any kind) to control your enrolments. It is assumed your external database contains at least a field containing a course ID, and a field containing a user ID. These are compared against fields that you choose in the local course and user tables.';
  60  $string['remotecoursefield'] = 'Remote course field';
  61  $string['remotecoursefield_desc'] = 'The name of the field in the remote table that we are using to match entries in the course table.';
  62  $string['remoteenroltable'] = 'Remote user enrolment table';
  63  $string['remoteenroltable_desc'] = 'Specify the name of the table that contains list of user enrolments. Empty means no user enrolment sync.';
  64  $string['remoteotheruserfield'] = 'Remote Other User field';
  65  $string['remoteotheruserfield_desc'] = 'The name of the field in the remote table that we are using to flag "Other User" role assignments.';
  66  $string['remoterolefield'] = 'Remote role field';
  67  $string['remoterolefield_desc'] = 'The name of the field in the remote table that we are using to match entries in the roles table.';
  68  $string['remoteuserfield'] = 'Remote user field';
  69  $string['settingsheaderdb'] = 'External database connection';
  70  $string['settingsheaderlocal'] = 'Local field mapping';
  71  $string['settingsheaderremote'] = 'Remote enrolment sync';
  72  $string['settingsheadernewcourses'] = 'Creation of new courses';
  73  $string['syncenrolmentstask'] = 'Synchronise external database enrolments task';
  74  $string['remoteuserfield_desc'] = 'The name of the field in the remote table that we are using to match entries in the user table.';
  75  $string['templatecourse'] = 'New course template';
  76  $string['templatecourse_desc'] = 'Optional: auto-created courses can copy their settings from a template course. Type here the shortname of the template course.';
  77  $string['privacy:metadata'] = 'The External database enrolment plugin does not store any personal data.';