Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/tool/uploaduser/index.php File Reference

Go to the source code of this file.

Namespaces

namespace  tool

Variables

 $iid = optional_param('iid', '', PARAM_INT)
 $previewrows = optional_param('previewrows', 10, PARAM_INT)
 $struserrenamed = get_string('userrenamed', 'tool_uploaduser')
 $strusernotrenamedexists = get_string('usernotrenamedexists', 'error')
 $strusernotrenamedmissing = get_string('usernotrenamedmissing', 'error')
 $strusernotrenamedoff = get_string('usernotrenamedoff', 'error')
 $strusernotrenamedadmin = get_string('usernotrenamedadmin', 'error')
 $struserupdated = get_string('useraccountupdated', 'tool_uploaduser')
 $strusernotupdated = get_string('usernotupdatederror', 'error')
 $strusernotupdatednotexists = get_string('usernotupdatednotexists', 'error')
 $strusernotupdatedadmin = get_string('usernotupdatedadmin', 'error')
 $struseruptodate = get_string('useraccountuptodate', 'tool_uploaduser')
 $struseradded = get_string('newuser')
 $strusernotadded = get_string('usernotaddedregistered', 'error')
 $strusernotaddederror = get_string('usernotaddederror', 'error')
 $struserdeleted = get_string('userdeleted', 'tool_uploaduser')
 $strusernotdeletederror = get_string('usernotdeletederror', 'error')
 $strusernotdeletedmissing = get_string('usernotdeletedmissing', 'error')
 $strusernotdeletedoff = get_string('usernotdeletedoff', 'error')
 $strusernotdeletedadmin = get_string('usernotdeletedadmin', 'error')
 $strcannotassignrole = get_string('cannotassignrole', 'error')
 $struserauthunsupported = get_string('userauthunsupported', 'error')
 $stremailduplicate = get_string('useremailduplicate', 'error')
 $strinvalidpasswordpolicy = get_string('invalidpasswordpolicy', 'error')
 $errorstr = get_string('error')
 $stryes = get_string('yes')
 $strno = get_string('no')
 $stryesnooptions = array(0=>$strno, 1=>$stryes)
 $returnurl = new moodle_url('/admin/tool/uploaduser/index.php')
 $bulknurl = new moodle_url('/admin/user/user_bulk.php')
 $today = time()
 $STD_FIELDS
 $PRF_FIELDS = array()
if($formdata=$mform2->
is_cancelled()) else 
if ($formdata=$mform2->get_data())
 $data = array()
 $linenum = 1
 $table = new html_table()
$table attributes ['class'] = 'generaltable'
$table tablealign = 'center'
$table summary = get_string('uploaduserspreview', 'tool_uploaduser')
$table head = array()
$table data = $data
$table head [] = get_string('uucsvline', 'tool_uploaduser')
 die
$ACCESSLIB_PRIVATE

maximum size of context cache - it is possible to tweak this config.php or in any script before inclusion of context.php Although this looks like a global variable, it isn't really.

It is just a private implementation detail to accesslib that MUST NOT be used elsewhere. It is used to cache various bits of data between function calls for performance reasons. Sadly, a PHP global variable is the only way to implement this, without rewriting everything as methods of a class, instead of functions.

stdClass $ACCESSLIB_PRIVATE

$table id = "uupreview"

Variable Documentation

$bulknurl = new moodle_url('/admin/user/user_bulk.php')

Definition at line 81 of file index.php.

$data = array()

Definition at line 967 of file index.php.

$errorstr = get_string('error')

Definition at line 74 of file index.php.

$iid = optional_param('iid', '', PARAM_INT)

Definition at line 35 of file index.php.

$linenum = 1

Definition at line 969 of file index.php.

$previewrows = optional_param('previewrows', 10, PARAM_INT)

Definition at line 36 of file index.php.

$PRF_FIELDS = array()

Definition at line 99 of file index.php.

$returnurl = new moodle_url('/admin/tool/uploaduser/index.php')

Definition at line 80 of file index.php.

$STD_FIELDS
Initial value:
 array('id', 'firstname', 'lastname', 'username', 'email',
        'city', 'country', 'lang', 'timezone', 'mailformat',
        'maildisplay', 'maildigest', 'htmleditor', 'ajax', 'autosubscribe',
        'institution', 'department', 'idnumber', 'skype',
        'msn', 'aim', 'yahoo', 'icq', 'phone1', 'phone2', 'address',
        'url', 'description', 'descriptionformat', 'password',
        'auth',        
        'oldusername', 
        'suspended',   
        'deleted',     
    )

Definition at line 87 of file index.php.

$strcannotassignrole = get_string('cannotassignrole', 'error')

Definition at line 68 of file index.php.

$stremailduplicate = get_string('useremailduplicate', 'error')

Definition at line 71 of file index.php.

$strinvalidpasswordpolicy = get_string('invalidpasswordpolicy', 'error')

Definition at line 73 of file index.php.

$strno = get_string('no')

Definition at line 77 of file index.php.

$struseradded = get_string('newuser')

Definition at line 58 of file index.php.

$struserauthunsupported = get_string('userauthunsupported', 'error')

Definition at line 70 of file index.php.

$struserdeleted = get_string('userdeleted', 'tool_uploaduser')

Definition at line 62 of file index.php.

$strusernotadded = get_string('usernotaddedregistered', 'error')

Definition at line 59 of file index.php.

$strusernotaddederror = get_string('usernotaddederror', 'error')

Definition at line 60 of file index.php.

$strusernotdeletedadmin = get_string('usernotdeletedadmin', 'error')

Definition at line 66 of file index.php.

$strusernotdeletederror = get_string('usernotdeletederror', 'error')

Definition at line 63 of file index.php.

$strusernotdeletedmissing = get_string('usernotdeletedmissing', 'error')

Definition at line 64 of file index.php.

$strusernotdeletedoff = get_string('usernotdeletedoff', 'error')

Definition at line 65 of file index.php.

$strusernotrenamedadmin = get_string('usernotrenamedadmin', 'error')

Definition at line 49 of file index.php.

$strusernotrenamedexists = get_string('usernotrenamedexists', 'error')

Definition at line 46 of file index.php.

$strusernotrenamedmissing = get_string('usernotrenamedmissing', 'error')

Definition at line 47 of file index.php.

$strusernotrenamedoff = get_string('usernotrenamedoff', 'error')

Definition at line 48 of file index.php.

$strusernotupdated = get_string('usernotupdatederror', 'error')

Definition at line 52 of file index.php.

$strusernotupdatedadmin = get_string('usernotupdatedadmin', 'error')

Definition at line 54 of file index.php.

$strusernotupdatednotexists = get_string('usernotupdatednotexists', 'error')

Definition at line 53 of file index.php.

$struserrenamed = get_string('userrenamed', 'tool_uploaduser')

Definition at line 45 of file index.php.

$struserupdated = get_string('useraccountupdated', 'tool_uploaduser')

Definition at line 51 of file index.php.

$struseruptodate = get_string('useraccountuptodate', 'tool_uploaduser')

Definition at line 56 of file index.php.

$stryes = get_string('yes')

Definition at line 76 of file index.php.

$stryesnooptions = array(0=>$strno, 1=>$stryes)

Definition at line 78 of file index.php.

$table = new html_table()

Definition at line 1015 of file index.php.

$today = time()

Definition at line 83 of file index.php.

$userlistcell attributes = 'generaltable'

Definition at line 1017 of file index.php.

Definition at line 1021 of file index.php.

die

Definition at line 1034 of file index.php.

Definition at line 1020 of file index.php.

foreach ($filecolumns as $column) $table head[] = get_string('uucsvline', 'tool_uploaduser')

Definition at line 1023 of file index.php.

read int $id context id = "uupreview"

Basic moodle context abstraction class.

Author:
Petr Skoda
Since:
2.2

Definition at line 1016 of file index.php.

if ($formdata=$mform2->is_cancelled()) else if($formdata=$mform2->get_data())

Definition at line 150 of file index.php.

$table summary = get_string('uploaduserspreview', 'tool_uploaduser')

Definition at line 1019 of file index.php.

$table tablealign = 'center'

Definition at line 1018 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations