Go to the source code of this file.
Variables |
| | $id = optional_param('id', 0, PARAM_INT) |
| | This page prints a particular instance of chat.
|
| | $c = optional_param('c', 0, PARAM_INT) |
| | $edit = optional_param('edit', -1, PARAM_BOOL) |
| | $context = get_context_instance(CONTEXT_MODULE, $cm->id) |
| | $strenterchat = get_string('enterchat', 'chat') |
| | $stridle = get_string('idle', 'chat') |
| | $strcurrentusers = get_string('currentusers', 'chat') |
| | $strnextsession = get_string('nextsession', 'chat') |
| | $courseshortname = format_string($course->shortname, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id))) |
| | $title = $courseshortname . ': ' . format_string($chat->name) |
| | $completion = new completion_info($course) |
| | $groupmode = groups_get_activity_groupmode($cm) |
| | Print the page header.
|
| | $currentgroup = groups_get_activity_group($cm, true) |
| | $params = array() |
| | if ($chatusers=chat_get_users($chat->id, $currentgroup, $cm->groupingid)) |
Variable Documentation
Print the page header.
Check to see if groups are being used here
Definition at line 96 of file view.php.
This page prints a particular instance of chat.
Definition at line 24 of file view.php.
| $strcurrentusers = get_string('currentusers', 'chat') |
| $strnextsession = get_string('nextsession', 'chat') |
| if($chatusers=chat_get_users($chat->id, $currentgroup, $cm->groupingid)) |
Print the main part of the page
Definition at line 167 of file view.php.