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

Go to the source code of this file.

Namespaces

namespace  moodlecore

Variables

 $txt = new stdClass()
$txt importerror = get_string('importerror', 'question')
$txt importquestions = get_string('importquestions', 'question')
if(!$category=$DB->get_record("question_categories",
array('id'=> $catid))) 
$categorycontext = get_context_instance_by_id($category->contextid)
$category context = $categorycontext
 $import_form
 if ($form=$import_form->get_data())

Variable Documentation

if (!$category=$DB->get_record("question_categories", array('id'=> $catid))) $categorycontext = get_context_instance_by_id($category->contextid)

Definition at line 45 of file import.php.

$import_form
Initial value:
 new question_import_form($thispageurl, array('contexts'=>$contexts->having_one_edit_tab_cap('import'),
                                                    'defaultcategory'=>$pagevars['cat']))

Definition at line 63 of file import.php.

$txt = new stdClass()

Definition at line 36 of file import.php.

$category context = $categorycontext

Definition at line 46 of file import.php.

if($form=$import_form->get_data())

Definition at line 77 of file import.php.

Definition at line 37 of file import.php.

Definition at line 38 of file import.php.

 All Data Structures Namespaces Files Functions Variables Enumerations