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

Go to the source code of this file.

Variables

 $id = required_param('id', PARAM_INT)
 $strsectionname = get_string('sectionname', 'format_'.$course->format)
 Get all required strings.
 $strchats = get_string('modulenameplural', 'chat')
 $strchat = get_string('modulename', 'chat')
if(!$chats=get_all_instances_in_course('chat',
$course)) 
$usesections = course_format_uses_sections($course->format)
 Get all the appropriate data.
if($usesections) $timenow = time()
 Print the list of instances (your module will probably extend this)
 $strname = get_string('name')
 $table = new html_table()
 foreach ($chats as $chat)

Variable Documentation

Definition at line 6 of file index.php.

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

Definition at line 24 of file index.php.

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

Definition at line 23 of file index.php.

$strname = get_string('name')

Definition at line 47 of file index.php.

$strsectionname = get_string('sectionname', 'format_'.$course->format)

Get all required strings.

Definition at line 22 of file index.php.

$table = new html_table()

Definition at line 49 of file index.php.

if ($usesections) $timenow = time()

Print the list of instances (your module will probably extend this)

Definition at line 46 of file index.php.

Get all the appropriate data.

Definition at line 39 of file index.php.

foreach($chats as $chat)

Definition at line 60 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations