Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/chat/view.php File Reference

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

$c = optional_param('c', 0, PARAM_INT)

Definition at line 25 of file view.php.

$completion = new completion_info($course)

Definition at line 84 of file view.php.

Definition at line 59 of file view.php.

$courseshortname = format_string($course->shortname, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id)))

Definition at line 80 of file view.php.

$currentgroup = groups_get_activity_group($cm, true)

Definition at line 97 of file view.php.

Definition at line 26 of file view.php.

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.

$params = array()

Definition at line 101 of file view.php.

$strcurrentusers = get_string('currentusers', 'chat')

Definition at line 77 of file view.php.

$strenterchat = get_string('enterchat', 'chat')

Definition at line 75 of file view.php.

$stridle = get_string('idle', 'chat')

Definition at line 76 of file view.php.

$strnextsession = get_string('nextsession', 'chat')

Definition at line 78 of file view.php.

$title = $courseshortname . ': ' . format_string($chat->name)

Definition at line 81 of file view.php.

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.

 All Data Structures Namespaces Files Functions Variables Enumerations