|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | enrol |
Functions | |
| authorize_process_csv ($filename) | |
| Handle CSV file. | |
Variables | |
| $struploadcsv = get_string('uploadcsv', 'enrol_authorize') | |
| Print header. | |
| $managebutton = "' /></form>" | |
| $form = new enrol_authorize_import_form() | |
| authorize_process_csv | ( | $ | filename | ) |
Handle CSV file.
We need these fields
Open the file and get first line
Re-sort fields
Read lines
Send email to admin
Send welcome messages to users
Show result
Definition at line 71 of file uploadcsv.php.

| $form = new enrol_authorize_import_form() |
Definition at line 42 of file uploadcsv.php.
| $managebutton = "' /></form>" |
Definition at line 40 of file uploadcsv.php.
| $struploadcsv = get_string('uploadcsv', 'enrol_authorize') |
Print header.
Definition at line 39 of file uploadcsv.php.