|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $confirm = optional_param('confirm', 0, PARAM_BOOL) | |
| $prevmode = required_param('prevmode', PARAM_ALPHA) | |
| $hook = optional_param('hook', '', PARAM_CLEAN) | |
| $url = new moodle_url('/mod/glossary/exportentry.php', array('id'=>$id,'prevmode'=>$prevmode)) | |
| $context = get_context_instance(CONTEXT_MODULE, $cm->id) | |
| $returnurl = "view.php?id=$cm->id&mode=$prevmode&hook=".urlencode($hook) | |
| $maincontext = get_context_instance(CONTEXT_MODULE, $maincm->id) | |
| if(!$course=$DB->get_record('course', array('id'=> $cm->course))) | $strglossaries = get_string('modulenameplural', 'glossary') |
| $entryalreadyexist = get_string('entryalreadyexist','glossary') | |
| $entryexported = get_string('entryexported','glossary') | |
| $confirm = optional_param('confirm', 0, PARAM_BOOL) |
Definition at line 7 of file exportentry.php.
| if (!$mainglossary=$DB->get_record('glossary', array('course'=> $cm->course, 'mainglossary'=>1))) if (!$maincm=get_coursemodule_from_instance('glossary', $mainglossary->id)) $context = get_context_instance(CONTEXT_MODULE, $cm->id) |
Definition at line 45 of file exportentry.php.
| $entryalreadyexist = get_string('entryalreadyexist','glossary') |
Definition at line 68 of file exportentry.php.
| $entryexported = get_string('entryexported','glossary') |
Definition at line 69 of file exportentry.php.
| $hook = optional_param('hook', '', PARAM_CLEAN) |
Definition at line 9 of file exportentry.php.
| $id = required_param('id', PARAM_INT) |
Definition at line 6 of file exportentry.php.
| $maincontext = get_context_instance(CONTEXT_MODULE, $maincm->id) |
Definition at line 60 of file exportentry.php.
| $prevmode = required_param('prevmode', PARAM_ALPHA) |
Definition at line 8 of file exportentry.php.
Definition at line 48 of file exportentry.php.
| if (!$course=$DB->get_record('course', array('id'=> $cm->course))) $strglossaries = get_string('modulenameplural', 'glossary') |
Definition at line 67 of file exportentry.php.
Definition at line 11 of file exportentry.php.