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

Go to the source code of this file.

Namespaces

namespace  feedback

Functions

 feedback_load_xml_data ($xmlcontent)
 feedback_import_loaded_data (&$data, $feedbackid)
 feedback_check_xml_utf8 ($text)

Variables

 $id = required_param('id', PARAM_INT)
 $choosefile = optional_param('choosefile', false, PARAM_PATH)
 $action = optional_param('action', false, PARAM_ALPHA)
 $url = new moodle_url('/mod/feedback/import.php', array('id'=>$id))
 $mform = new feedback_import_form()
 $newformdata
 $formdata = $mform->get_data()
if($mform->is_cancelled()) if($choosefile) $strfeedbacks = get_string("modulenameplural", "feedback")
 Print the page header.
 $strfeedback = get_string("modulename", "feedback")

Function Documentation

Definition at line 271 of file import.php.

Here is the call graph for this function:

Here is the caller graph for this function:

feedback_import_loaded_data ( &$  data,
feedbackid 
)

Definition at line 139 of file import.php.

Here is the call graph for this function:

feedback_load_xml_data ( xmlcontent)

Definition at line 122 of file import.php.

Here is the call graph for this function:


Variable Documentation

Definition at line 32 of file import.php.

$choosefile = optional_param('choosefile', false, PARAM_PATH)

Definition at line 31 of file import.php.

$formdata = $mform->get_data()

Definition at line 70 of file import.php.

Definition at line 30 of file import.php.

$mform = new feedback_import_form()

Definition at line 63 of file import.php.

$newformdata
Initial value:
 array('id'=>$id,
                    'deleteolditems'=>'1',
                    'action'=>'choosefile',
                    'confirmadd'=>'1',
                    'do_show'=>'templates')

Definition at line 64 of file import.php.

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

Definition at line 95 of file import.php.

if ($mform->is_cancelled()) if ($choosefile) $strfeedbacks = get_string("modulenameplural", "feedback")

Print the page header.

Definition at line 94 of file import.php.

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

Definition at line 34 of file import.php.

 All Data Structures Namespaces Files Functions Variables Enumerations