Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/enrol/flatfile/lang/en/enrol_flatfile.php
Go to the documentation of this file.
00001 <?php
00002 
00003 // This file is part of Moodle - http://moodle.org/
00004 //
00005 // Moodle is free software: you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation, either version 3 of the License, or
00008 // (at your option) any later version.
00009 //
00010 // Moodle is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU General Public License
00016 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
00017 
00027 $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.';
00028 $string['filelockedmailsubject'] = 'Important error: Enrolment file';
00029 $string['location'] = 'File location';
00030 $string['mailadmin'] = 'Notify admin by email';
00031 $string['mailstudents'] = 'Notify students by email';
00032 $string['mailteachers'] = 'Notify teachers by email';
00033 $string['mapping'] = 'Flat file mapping';
00034 $string['pluginname'] = 'Flat file (CSV)';
00035 $string['pluginname_desc'] = 'This method will repeatedly check for and process a specially-formatted text file in the location that you specify.
00036 The file is a comma separated file assumed to have four or six fields per line:
00037 <pre class="informationbox">
00038 *  operation, role, idnumber(user), idnumber(course) [, starttime, endtime]
00039 where:
00040 *  operation        = add | del
00041 *  role             = student | teacher | teacheredit
00042 *  idnumber(user)   = idnumber in the user table NB not id
00043 *  idnumber(course) = idnumber in the course table NB not id
00044 *  starttime        = start time (in seconds since epoch) - optional
00045 *  endtime          = end time (in seconds since epoch) - optional
00046 </pre>
00047 It could look something like this:
00048 <pre class="informationbox">
00049    add, student, 5, CF101
00050    add, teacher, 6, CF101
00051    add, teacheredit, 7, CF101
00052    del, student, 8, CF101
00053    del, student, 17, CF101
00054    add, student, 21, CF101, 1091115000, 1091215000
00055 </pre>';
 All Data Structures Namespaces Files Functions Variables Enumerations