Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/enrol/authorize/uploadcsv.php File Reference

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()

Function Documentation

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.

Here is the call graph for this function:


Variable Documentation

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.

 All Data Structures Namespaces Files Functions Variables Enumerations