Go to the source code of this file.
Variables |
| | $cmid = required_param('cmid', PARAM_INT) |
| | $id = optional_param('id', 0, PARAM_INT) |
| | $context = get_context_instance(CONTEXT_MODULE, $cm->id) |
if(!$glossary=$DB->get_record('glossary',
array('id'=> $cm->instance))) | $url = new moodle_url('/mod/glossary/edit.php', array('cmid'=>$cm->id)) |
| | $maxbytes = $course->maxbytes |
| | $definitionoptions = array('trusttext'=>true, 'subdirs'=>false, 'maxfiles'=>$maxfiles, 'maxbytes'=>$maxbytes, 'context'=>$context) |
| | $attachmentoptions = array('subdirs'=>false, 'maxfiles'=>$maxfiles, 'maxbytes'=>$maxbytes) |
| | $entry = file_prepare_standard_editor($entry, 'definition', $definitionoptions, $context, 'mod_glossary', 'entry', $entry->id) |
| $entry | cmid = $cm->id |
| | $mform |
Variable Documentation
| $attachmentoptions = array('subdirs'=>false, 'maxfiles'=>$maxfiles, 'maxbytes'=>$maxbytes) |
| $definitionoptions = array('trusttext'=>true, 'subdirs'=>false, 'maxfiles'=>$maxfiles, 'maxbytes'=>$maxbytes, 'context'=>$context) |
Initial value:
Definition at line 78 of file edit.php.