[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/enrol/flatfile/lang/en/ -> enrol_flatfile.php (source)

   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 expiration 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['flatfilesync'] = 'Flat file enrolment sync';
  33  $string['location'] = 'File location';
  34  $string['location_desc'] = 'Specify full path to the enrolment file. The file is automatically deleted after processing.';
  35  $string['notifyadmin'] = 'Notify administrator';
  36  $string['notifyenrolled'] = 'Notify enrolled users';
  37  $string['notifyenroller'] = 'Notify user responsible for enrolments';
  38  $string['messageprovider:flatfile_enrolment'] = 'Flat file enrolment messages';
  39  $string['mapping'] = 'Flat file role mapping';
  40  $string['pluginname'] = 'Flat file (CSV)';
  41  $string['pluginname_desc'] = 'This method will repeatedly check for and process a specially-formatted text file in the location that you specify.
  42  The file is a comma separated file assumed to have four or six fields per line:
  43  
  44      operation, role, user idnumber, course idnumber [, starttime [, endtime]]
  45  
  46  where:
  47  
  48  * operation - add | del
  49  * role - student | teacher | teacheredit
  50  * user idnumber - idnumber in the user table NB not id
  51  * course idnumber - idnumber in the course table NB not id
  52  * starttime - start time (in seconds since epoch) - optional
  53  * endtime - end time (in seconds since epoch) - optional
  54  
  55  It could look something like this:
  56  <pre class="informationbox">
  57     add, student, 5, CF101
  58     add, teacher, 6, CF101
  59     add, teacheredit, 7, CF101
  60     del, student, 8, CF101
  61     del, student, 17, CF101
  62     add, student, 21, CF101, 1091115000, 1091215000
  63  </pre>';


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1