|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Functions | |
| if(empty($users) or $mform-> is_cancelled()) else if($data=$mform-> get_data()) | sort_compare ($a, $b) |
Variables | |
| $sort = optional_param('sort', 'fullname', PARAM_ALPHA) | |
| $dir = optional_param('dir', 'asc', PARAM_ALPHA) | |
| $users = $SESSION->bulk_users | |
| $strnever = get_string('never') | |
| $cohorts = array(''=>get_string('choosedots')) | |
| $allcohorts = $DB->get_records('cohort') | |
| if(count($cohorts)< 2) | $countries = get_string_manager()->get_list_of_countries(true) |
| $mform = new user_bulk_cohortadd_form(null, $cohorts) | |
| $table = new html_table() | |
| $table | width = "95%" |
| $columns = array('fullname', 'email', 'city', 'country', 'lastaccess') | |
| foreach($columns as $column) | foreach ($users as $user) |
| if (empty($users) or $mform->is_cancelled()) else if ($data=$mform->get_data()) sort_compare | ( | $ | a, |
| $ | b | ||
| ) |
Definition at line 97 of file user_bulk_cohortadd.php.
| $allcohorts = $DB->get_records('cohort') |
Definition at line 42 of file user_bulk_cohortadd.php.
| $cohorts = array(''=>get_string('choosedots')) |
Definition at line 41 of file user_bulk_cohortadd.php.
Definition at line 110 of file user_bulk_cohortadd.php.
| if (count($cohorts)< 2) $countries = get_string_manager()->get_list_of_countries(true) |
Definition at line 70 of file user_bulk_cohortadd.php.
| $dir = optional_param('dir', 'asc', PARAM_ALPHA) |
Definition at line 32 of file user_bulk_cohortadd.php.
| $mform = new user_bulk_cohortadd_form(null, $cohorts) |
Definition at line 81 of file user_bulk_cohortadd.php.
| $sort = optional_param('sort', 'fullname', PARAM_ALPHA) |
Definition at line 31 of file user_bulk_cohortadd.php.
| $strnever = get_string('never') |
Definition at line 39 of file user_bulk_cohortadd.php.
| $table = new html_table() |
Definition at line 108 of file user_bulk_cohortadd.php.
| $users = $SESSION->bulk_users |
Definition at line 37 of file user_bulk_cohortadd.php.
Definition at line 124 of file user_bulk_cohortadd.php.
Definition at line 109 of file user_bulk_cohortadd.php.