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

Go to the source code of this file.

Namespaces

namespace  feedback

Variables

 $id = required_param('id', PARAM_INT)
 $userid = optional_param('userid', false, PARAM_INT)
 $do_show = required_param('do_show', PARAM_ALPHA)
 $perpage = optional_param('perpage', FEEDBACK_DEFAULT_PAGE_COUNT, PARAM_INT)
 $showall = optional_param('showall', false, PARAM_INT)
 $current_tab = $do_show
if($userid) if(!$cm=get_coursemodule_from_id('feedback',
$id)) if(!$course=$DB->
get_record("course", array("id"=>
$cm->course))) if(!$feedback=$DB->
get_record("feedback", array("id"=>
$cm->instance))) 
$url = new moodle_url('/mod/feedback/show_entries.php', array('id'=>$cm->id, 'do_show'=>$do_show))
if($do_show== 'showoneentry') $strfeedbacks = get_string("modulenameplural", "feedback")
 Print the page header.
 $strfeedback = get_string("modulename", "feedback")
if($do_show== 'showentries') if ($do_show== 'showoneentry')
 Print the main part of the page //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////.

Variable Documentation

$current_tab = $do_show

Definition at line 38 of file show_entries.php.

$do_show = required_param('do_show', PARAM_ALPHA)

Definition at line 34 of file show_entries.php.

Definition at line 32 of file show_entries.php.

Definition at line 35 of file show_entries.php.

$showall = optional_param('showall', false, PARAM_INT)

Definition at line 36 of file show_entries.php.

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

Definition at line 92 of file show_entries.php.

if ($do_show== 'showoneentry') $strfeedbacks = get_string("modulenameplural", "feedback")

Print the page header.

Definition at line 91 of file show_entries.php.

if ($userid) if (!$cm=get_coursemodule_from_id('feedback', $id)) if (!$course=$DB->get_record("course", array("id"=> $cm->course))) if (!$feedback=$DB->get_record("feedback", array("id"=> $cm->instance))) $url = new moodle_url('/mod/feedback/show_entries.php', array('id'=>$cm->id, 'do_show'=>$do_show))

Definition at line 60 of file show_entries.php.

Definition at line 33 of file show_entries.php.

if ($do_show== 'showentries') if($do_show== 'showoneentry')

Print the main part of the page //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////.

Print the links to get responses and analysis Print the responses of the given user Finish the page //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////

Definition at line 315 of file show_entries.php.

 All Data Structures Namespaces Files Functions Variables Enumerations