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

Go to the source code of this file.

Variables

 $eid = required_param('eid', PARAM_INT)
 $mode = optional_param('mode', 'approval', PARAM_ALPHA)
 $hook = optional_param('hook', 'ALL', PARAM_CLEAN)
 $url = new moodle_url('/mod/glossary/approve.php', array('eid'=>$eid,'mode'=>$mode, 'hook'=>$hook))
 $entry = $DB->get_record('glossary_entries', array('id'=> $eid), '*', MUST_EXIST)
 $glossary = $DB->get_record('glossary', array('id'=> $entry->glossaryid), '*', MUST_EXIST)
 $cm = get_coursemodule_from_instance('glossary', $glossary->id, 0, false, MUST_EXIST)
 $course = $DB->get_record('course', array('id'=> $cm->course), '*', MUST_EXIST)
 $context = get_context_instance(CONTEXT_MODULE, $cm->id)

Variable Documentation

Definition at line 16 of file approve.php.

Definition at line 21 of file approve.php.

Definition at line 17 of file approve.php.

$eid = required_param('eid', PARAM_INT)

Definition at line 6 of file approve.php.

$entry = $DB->get_record('glossary_entries', array('id'=> $eid), '*', MUST_EXIST)

Definition at line 14 of file approve.php.

$glossary = $DB->get_record('glossary', array('id'=> $entry->glossaryid), '*', MUST_EXIST)

Definition at line 15 of file approve.php.

$hook = optional_param('hook', 'ALL', PARAM_CLEAN)

Definition at line 9 of file approve.php.

$mode = optional_param('mode', 'approval', PARAM_ALPHA)

Definition at line 8 of file approve.php.

$url = new moodle_url('/mod/glossary/approve.php', array('eid'=>$eid,'mode'=>$mode, 'hook'=>$hook))

Definition at line 11 of file approve.php.

 All Data Structures Namespaces Files Functions Variables Enumerations