Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/user/user_bulk_cohortadd.php File Reference

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)

Function Documentation

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.


Variable Documentation

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

$columns = array('fullname', 'email', 'city', 'country', 'lastaccess')

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.

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.

foreach ($columns as $column) foreach($users as $user)

Definition at line 124 of file user_bulk_cohortadd.php.

$table width = "95%"

Definition at line 109 of file user_bulk_cohortadd.php.

 All Data Structures Namespaces Files Functions Variables Enumerations