[ Index ]

PHP Cross Reference of moodle-2.8

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1