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

Go to the source code of this file.

Variables

 $id = required_param('id', PARAM_INT)
 This page prints reports and info about chats.
 $start = optional_param('start', 0, PARAM_INT)
 $end = optional_param('end', 0, PARAM_INT)
 $deletesession = optional_param('deletesession', 0, PARAM_BOOL)
 $confirmdelete = optional_param('confirmdelete', 0, PARAM_BOOL)
 $show_all = optional_param('show_all', 0, PARAM_BOOL)
 $url = new moodle_url('/mod/chat/report.php', array('id'=>$id))
if(!$cm=get_coursemodule_from_id('chat',
$id)) if(!$chat=$DB->
get_record('chat', array('id'=>
$cm->instance))) if(!$course=$DB->
get_record('course', array('id'=>
$chat->course))) 
$context = get_context_instance(CONTEXT_MODULE, $cm->id)
 $strchats = get_string('modulenameplural', 'chat')
 $strchat = get_string('modulename', 'chat')
 $strchatreport = get_string('chatreport', 'chat')
 $strseesession = get_string('seesession', 'chat')
 $strdeletesession = get_string('deletesession', 'chat')
 $navlinks = array()
 $canexportsess = has_capability('mod/chat:exportsession', $context)
 $sessionend = 0
 Check to see if groups are being used here.
 $sessionstart = 0
 $sessionusers = array()
 $lasttime = 0
 $complete_sessions = 0
 $messagesleft = count($messages)
foreach($messages as $message)
if(!empty($CFG->
enableportfolios)&&$canexportsess) 
if (!$show_all and $complete_sessions==0)
 Finish the page.

Variable Documentation

$canexportsess = has_capability('mod/chat:exportsession', $context)

Definition at line 59 of file report.php.

$complete_sessions = 0

Definition at line 189 of file report.php.

$confirmdelete = optional_param('confirmdelete', 0, PARAM_BOOL)

Definition at line 12 of file report.php.

Definition at line 40 of file report.php.

$deletesession = optional_param('deletesession', 0, PARAM_BOOL)

Definition at line 11 of file report.php.

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

Definition at line 10 of file report.php.

This page prints reports and info about chats.

Definition at line 8 of file report.php.

$lasttime = 0

Definition at line 188 of file report.php.

$messagesleft = count($messages)

Definition at line 191 of file report.php.

$navlinks = array()

Definition at line 57 of file report.php.

$sessionend = 0

Check to see if groups are being used here.

Definition at line 185 of file report.php.

$sessionstart = 0

Definition at line 186 of file report.php.

$sessionusers = array()

Definition at line 187 of file report.php.

$show_all = optional_param('show_all', 0, PARAM_BOOL)

Definition at line 13 of file report.php.

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

Definition at line 9 of file report.php.

$strchat = get_string('modulename', 'chat')

Definition at line 52 of file report.php.

$strchatreport = get_string('chatreport', 'chat')

Definition at line 53 of file report.php.

$strchats = get_string('modulenameplural', 'chat')

Definition at line 51 of file report.php.

$strdeletesession = get_string('deletesession', 'chat')

Definition at line 55 of file report.php.

$strseesession = get_string('seesession', 'chat')

Definition at line 54 of file report.php.

$url = new moodle_url('/mod/chat/report.php', array('id'=>$id))

Definition at line 15 of file report.php.

foreach ($messages as $message) if (!empty($CFG->enableportfolios)&&$canexportsess) if(!$show_all and $complete_sessions==0)

Finish the page.

Definition at line 272 of file report.php.

 All Data Structures Namespaces Files Functions Variables Enumerations