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

Go to the source code of this file.

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Variables

 $id = required_param('id', PARAM_INT)
 $action = optional_param('action', '', PARAM_ALPHA)
 $qid = optional_param('qid', 0, PARAM_RAW)
 $student = optional_param('student', 0, PARAM_INT)
 $notes = optional_param('notes', '', PARAM_RAW)
 $qids = explode(',', $qid)
if(!$cm=get_coursemodule_from_id('survey',
$id)) if(!$course=$DB->
get_record("course", array("id"=>
$cm->course))) 
$url = new moodle_url('/mod/survey/report.php', array('id'=>$id))
 $context = get_context_instance(CONTEXT_MODULE, $cm->id)
if(!$survey=$DB->get_record("survey",
array("id"=> $cm->instance)))
if(!$template=$DB->get_record("survey",
array("id"=> $survey->template))) 
$showscales = ($template->name != 'ciqname')
 $strreport = get_string("report", "survey")
 $strsurvey = get_string("modulename", "survey")
 $strsurveys = get_string("modulenameplural", "survey")
 $strsummary = get_string("summary", "survey")
 $strscales = get_string("scales", "survey")
 $strquestion = get_string("question", "survey")
 $strquestions = get_string("questions", "survey")
 $strdownload = get_string("download", "survey")
 $strallscales = get_string("allscales", "survey")
 $strallquestions = get_string("allquestions", "survey")
 $strselectedquestions = get_string("selectedquestions", "survey")
 $strseemoredetail = get_string("seemoredetail", "survey")
 $strnotes = get_string("notes", "survey")
 $virtualscales = false
 Check to see if groups are being used in this survey.
 switch ($action)

Variable Documentation

Definition at line 32 of file report.php.

Definition at line 66 of file report.php.

Definition at line 31 of file report.php.

$notes = optional_param('notes', '', PARAM_RAW)

Definition at line 35 of file report.php.

$qid = optional_param('qid', 0, PARAM_RAW)

Definition at line 33 of file report.php.

$qids = explode(',', $qid)

Definition at line 37 of file report.php.

if (!$survey=$DB->get_record("survey", array("id"=> $cm->instance))) if (!$template=$DB->get_record("survey", array("id"=> $survey->template))) $showscales = ($template->name != 'ciqname')

Definition at line 78 of file report.php.

$strallquestions = get_string("allquestions", "survey")

Definition at line 90 of file report.php.

$strallscales = get_string("allscales", "survey")

Definition at line 89 of file report.php.

$strdownload = get_string("download", "survey")

Definition at line 88 of file report.php.

$strnotes = get_string("notes", "survey")

Definition at line 93 of file report.php.

$strquestion = get_string("question", "survey")

Definition at line 86 of file report.php.

$strquestions = get_string("questions", "survey")

Definition at line 87 of file report.php.

$strreport = get_string("report", "survey")

Definition at line 81 of file report.php.

$strscales = get_string("scales", "survey")

Definition at line 85 of file report.php.

$strseemoredetail = get_string("seemoredetail", "survey")

Definition at line 92 of file report.php.

$strselectedquestions = get_string("selectedquestions", "survey")

Definition at line 91 of file report.php.

$strsummary = get_string("summary", "survey")

Definition at line 84 of file report.php.

$strsurvey = get_string("modulename", "survey")

Definition at line 82 of file report.php.

$strsurveys = get_string("modulenameplural", "survey")

Definition at line 83 of file report.php.

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

Definition at line 34 of file report.php.

if (!$cm=get_coursemodule_from_id('survey', $id)) if (!$course=$DB->get_record("course", array("id"=> $cm->course))) $url = new moodle_url('/mod/survey/report.php', array('id'=>$id))

Definition at line 49 of file report.php.

$virtualscales = false

Check to see if groups are being used in this survey.

Print the menu across the top

Definition at line 175 of file report.php.

Definition at line 177 of file report.php.

 All Data Structures Namespaces Files Functions Variables Enumerations