Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.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_flatfile', language 'en'.
  19   *
  20   * @package    enrol_flatfile
  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['encoding'] = 'File encoding';
  26  $string['expiredaction'] = 'Enrolment expiry action';
  27  $string['expiredaction_help'] = 'Select action to carry out when user enrolment expires. Please note that some user data and settings are purged from course during course unenrolment.';
  28  $string['filelockedmail'] = 'The text file you are using for file-based enrolments ({$a}) can not be deleted by the cron process.  This usually means the permissions are wrong on it.  Please fix the permissions so that Moodle can delete the file, otherwise it might be processed repeatedly.';
  29  $string['filelockedmailsubject'] = 'Important error: Enrolment file';
  30  $string['flatfile:manage'] = 'Manage user enrolments manually';
  31  $string['flatfile:unenrol'] = 'Unenrol users from the course manually';
  32  $string['flatfileenrolments'] = 'Flat file (CSV) enrolments';
  33  $string['flatfilesync'] = 'Flat file enrolment sync';
  34  $string['location'] = 'File location';
  35  $string['location_desc'] = 'Specify full path to the enrolment file. The file is automatically deleted after processing.';
  36  $string['notifyadmin'] = 'Notify administrator';
  37  $string['notifyenrolled'] = 'Notify enrolled users';
  38  $string['notifyenroller'] = 'Notify user responsible for enrolments';
  39  $string['messageprovider:flatfile_enrolment'] = 'Flat file enrolment messages';
  40  $string['mapping'] = 'Flat file role mapping';
  41  $string['pluginname'] = 'Flat file (CSV)';
  42  $string['pluginname_desc'] = 'This method will repeatedly check for and process a specially-formatted text file in the location that you specify.
  43  The file is a comma separated file assumed to have four or six fields per line:
  44  
  45      operation, role, user idnumber, course idnumber [, starttime [, endtime]]
  46  
  47  where:
  48  
  49  * operation - add | del
  50  * role - student | teacher | teacheredit
  51  * user idnumber - idnumber in the user table NB not id
  52  * course idnumber - idnumber in the course table NB not id
  53  * starttime - start time (in seconds since epoch) - optional
  54  * endtime - end time (in seconds since epoch) - optional
  55  
  56  It could look something like this:
  57  <pre class="informationbox">
  58     add, student, 5, CF101
  59     add, teacher, 6, CF101
  60     add, teacheredit, 7, CF101
  61     del, student, 8, CF101
  62     del, student, 17, CF101
  63     add, student, 21, CF101, 1091115000, 1091215000
  64  </pre>';
  65  $string['privacy:metadata:enrol_flatfile'] = 'The Flat file (CSV) enrolment plugin may store personal data relating to future enrolments in the enrol_flatfile table.';
  66  $string['privacy:metadata:enrol_flatfile:action'] = 'The enrolment action expected on the given date';
  67  $string['privacy:metadata:enrol_flatfile:courseid'] = 'The course ID to which the enrolment relates';
  68  $string['privacy:metadata:enrol_flatfile:roleid'] = 'The ID of the role to be assigned or unassigned';
  69  $string['privacy:metadata:enrol_flatfile:timestart'] = 'The time when the enrolment starts';
  70  $string['privacy:metadata:enrol_flatfile:timeend'] = 'The time when the enrolment ends';
  71  $string['privacy:metadata:enrol_flatfile:timemodified'] = 'The time when the enrolment is modified';
  72  $string['privacy:metadata:enrol_flatfile:userid'] = 'The ID of the user to which the role assignment relates';