Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/enrol/flatfile/lang/en/enrol_flatfile.php File Reference

Go to the source code of this file.

Namespaces

namespace  enrol

Variables

 $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.'
 $string ['filelockedmailsubject'] = 'Important error: Enrolment file'
 $string ['location'] = 'File location'
 $string ['mailadmin'] = 'Notify admin by email'
 $string ['mailstudents'] = 'Notify students by email'
 $string ['mailteachers'] = 'Notify teachers by email'
 $string ['mapping'] = 'Flat file mapping'
 $string ['pluginname'] = 'Flat file (CSV)'
 $string ['pluginname_desc']

Variable Documentation

$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.'

Definition at line 27 of file enrol_flatfile.php.

$string['filelockedmailsubject'] = 'Important error: Enrolment file'

Definition at line 28 of file enrol_flatfile.php.

$string['location'] = 'File location'

Definition at line 29 of file enrol_flatfile.php.

$string['mailadmin'] = 'Notify admin by email'

Definition at line 30 of file enrol_flatfile.php.

$string['mailstudents'] = 'Notify students by email'

Definition at line 31 of file enrol_flatfile.php.

$string['mailteachers'] = 'Notify teachers by email'

Definition at line 32 of file enrol_flatfile.php.

$string['mapping'] = 'Flat file mapping'

Definition at line 33 of file enrol_flatfile.php.

$string['pluginname'] = 'Flat file (CSV)'

Definition at line 34 of file enrol_flatfile.php.

$string['pluginname_desc']
Initial value:
 'This method will repeatedly check for and process a specially-formatted text file in the location that you specify.
The file is a comma separated file assumed to have four or six fields per line:
<pre class="informationbox">
*  operation, role, idnumber(user), idnumber(course) [, starttime, endtime]
where:
*  operation        = add | del
*  role             = student | teacher | teacheredit
*  idnumber(user)   = idnumber in the user table NB not id
*  idnumber(course) = idnumber in the course table NB not id
*  starttime        = start time (in seconds since epoch) - optional
*  endtime          = end time (in seconds since epoch) - optional
</pre>
It could look something like this:
<pre class="informationbox">
   add, student, 5, CF101
   add, teacher, 6, CF101
   add, teacheredit, 7, CF101
   del, student, 8, CF101
   del, student, 17, CF101
   add, student, 21, CF101, 1091115000, 1091215000
</pre>'

Definition at line 35 of file enrol_flatfile.php.

 All Data Structures Namespaces Files Functions Variables Enumerations