Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/group/groupings.php File Reference

Go to the source code of this file.

Namespaces

namespace  groups

Variables

 $courseid = required_param('id', PARAM_INT)
 $context = get_context_instance(CONTEXT_COURSE, $course->id)
 $strgrouping = get_string('grouping', 'group')
 $strgroups = get_string('groups')
 $strname = get_string('name')
 $strdelete = get_string('delete')
 $stredit = get_string('edit')
 $srtnewgrouping = get_string('creategrouping', 'group')
 $strgroupings = get_string('groupings', 'group')
 $struses = get_string('activities')
 $strparticipants = get_string('participants')
 $strmanagegrping = get_string('showgroupsingrouping', 'group')
 $currenttab = 'groupings'
 $data = array()
if($groupings=$DB->get_records('groupings',
array('courseid'=> $course->id),
'name')) 
$table = new html_table()
$table head = array($strgrouping, $strgroups, $struses, $stredit)
$table size = array('30%', '50%', '10%', '10%')
$table align = array('left', 'left', 'center', 'center')
$table width = '90%'
$table data = $data

Variable Documentation

Definition at line 38 of file groupings.php.

Definition at line 29 of file groupings.php.

$currenttab = 'groupings'

Definition at line 63 of file groupings.php.

$data = array()

Definition at line 68 of file groupings.php.

$srtnewgrouping = get_string('creategrouping', 'group')

Definition at line 46 of file groupings.php.

$strdelete = get_string('delete')

Definition at line 44 of file groupings.php.

$stredit = get_string('edit')

Definition at line 45 of file groupings.php.

$strgrouping = get_string('grouping', 'group')

Definition at line 41 of file groupings.php.

$strgroupings = get_string('groupings', 'group')

Definition at line 48 of file groupings.php.

$strgroups = get_string('groups')

Definition at line 42 of file groupings.php.

$strmanagegrping = get_string('showgroupsingrouping', 'group')

Definition at line 51 of file groupings.php.

$strname = get_string('name')

Definition at line 43 of file groupings.php.

$strparticipants = get_string('participants')

Definition at line 50 of file groupings.php.

$struses = get_string('activities')

Definition at line 49 of file groupings.php.

if ($groupings=$DB->get_records('groupings', array('courseid'=> $course->id), 'name')) $table = new html_table()

Definition at line 96 of file groupings.php.

$table align = array('left', 'left', 'center', 'center')

Definition at line 99 of file groupings.php.

Definition at line 101 of file groupings.php.

$table head = array($strgrouping, $strgroups, $struses, $stredit)

Definition at line 97 of file groupings.php.

$table size = array('30%', '50%', '10%', '10%')

Definition at line 98 of file groupings.php.

$table width = '90%'

Definition at line 100 of file groupings.php.

 All Data Structures Namespaces Files Functions Variables Enumerations