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

Go to the source code of this file.

Namespaces

namespace  feedback

Variables

 $id = required_param('id', PARAM_INT)
 $url = new moodle_url('/mod/feedback/index.php', array('id'=>$id))
 $strfeedbacks = get_string("modulenameplural", "feedback")
 Print the page header.
 $strfeedback = get_string("modulename", "feedback")
if(!$feedbacks=get_all_instances_in_course("feedback",
$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")
 $strsectionname = get_string('sectionname', 'format_'.$course->format)
 $strresponses = get_string('responses', 'feedback')
 $table = new html_table()

Variable Documentation

Definition at line 28 of file index.php.

$strfeedback = get_string("modulename", "feedback")

Definition at line 50 of file index.php.

$strfeedbacks = get_string("modulenameplural", "feedback")

Print the page header.

Definition at line 49 of file index.php.

$strname = get_string("name")

Definition at line 73 of file index.php.

$strresponses = get_string('responses', 'feedback')

Definition at line 75 of file index.php.

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

Definition at line 74 of file index.php.

$table = new html_table()

Definition at line 77 of file index.php.

if ($usesections) $timenow = time()

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

Definition at line 72 of file index.php.

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

Definition at line 30 of file index.php.

if (!$feedbacks=get_all_instances_in_course("feedback", $course)) $usesections = course_format_uses_sections($course->format)

Get all the appropriate data.

Definition at line 65 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations