|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | groups |
Variables | |
| if(!defined('AUTOGROUP_MIN_RATIO')) | $courseid = required_param('courseid', PARAM_INT) |
| $context = get_context_instance(CONTEXT_COURSE, $courseid) | |
| $systemcontext = get_context_instance(CONTEXT_SYSTEM) | |
| $returnurl = $CFG->wwwroot.'/group/index.php?id='.$course->id | |
| $strgroups = get_string('groups') | |
| $strparticipants = get_string('participants') | |
| $strautocreategroups = get_string('autocreategroups', 'group') | |
| $preview = '' | |
| $error = '' | |
| $rolenames = array() | |
| Get applicable roles. | |
| if($roles=get_profile_roles($context)) | $editform = new autogroup_form(null, array('roles' => $rolenames)) |
| Create the form. | |
| if ($preview!== '') | |
Definition at line 29 of file autogroup.php.
| if (!defined('AUTOGROUP_MIN_RATIO')) $courseid = required_param('courseid', PARAM_INT) |
Definition at line 19 of file autogroup.php.
| if ($roles=get_profile_roles($context)) $editform = new autogroup_form(null, array('roles' => $rolenames)) |
Create the form.
Definition at line 52 of file autogroup.php.
| $error = '' |
Definition at line 41 of file autogroup.php.
| $preview = '' |
Definition at line 40 of file autogroup.php.
Definition at line 33 of file autogroup.php.
| $rolenames = array() |
Get applicable roles.
Definition at line 44 of file autogroup.php.
| $strautocreategroups = get_string('autocreategroups', 'group') |
Definition at line 37 of file autogroup.php.
| $strgroups = get_string('groups') |
Definition at line 35 of file autogroup.php.
| $strparticipants = get_string('participants') |
Definition at line 36 of file autogroup.php.
| $systemcontext = get_context_instance(CONTEXT_SYSTEM) |
Definition at line 30 of file autogroup.php.
| if($preview!== '') |
Definition at line 236 of file autogroup.php.