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

Go to the source code of this file.

Namespaces

namespace  feedback

Variables

 $cmid = required_param('cmid', PARAM_INT)
 $typ = optional_param('typ', false, PARAM_ALPHA)
 $id = optional_param('id', false, PARAM_INT)
 $action = optional_param('action', false, PARAM_ALPHA)
 $editurl = new moodle_url('/mod/feedback/edit.php', array('id'=>$cmid))
if(!$typ) $url = new moodle_url('/mod/feedback/edit_item.php', array('cmid'=>$cmid))
 $usehtmleditor = can_use_html_editor()
 $itemobj = feedback_get_item_class($typ)
if($itemobj->is_cancelled())
if($itemobj->get_data()) 
$strfeedbacks = get_string("modulenameplural", "feedback")
 $strfeedback = get_string("modulename", "feedback")
 if ($typ!='label')
 Finish the page //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////.

Variable Documentation

Definition at line 33 of file edit_item.php.

Definition at line 30 of file edit_item.php.

$editurl = new moodle_url('/mod/feedback/edit.php', array('id'=>$cmid))

Definition at line 35 of file edit_item.php.

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

Definition at line 32 of file edit_item.php.

$itemobj = feedback_get_item_class($typ)

Definition at line 102 of file edit_item.php.

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

Definition at line 120 of file edit_item.php.

if ($itemobj->is_cancelled()) if ($itemobj->get_data()) $strfeedbacks = get_string("modulenameplural", "feedback")

Print the page header

Definition at line 119 of file edit_item.php.

$typ = optional_param('typ', false, PARAM_ALPHA)

Definition at line 31 of file edit_item.php.

if (!$typ) $url = new moodle_url('/mod/feedback/edit_item.php', array('cmid'=>$cmid))

Definition at line 41 of file edit_item.php.

$usehtmleditor = can_use_html_editor()

Definition at line 51 of file edit_item.php.

if($typ!='label')

Finish the page //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////.

Definition at line 140 of file edit_item.php.

 All Data Structures Namespaces Files Functions Variables Enumerations