Go to the source code of this file.
Variables |
| global | $CFG |
| | $id = required_param('id', PARAM_INT) |
| | $sortorder = optional_param('sortorder', 'asc', PARAM_ALPHA) |
| | $offset = optional_param('offset', 0, PARAM_INT) |
| | $displayformat = optional_param('displayformat',-1, PARAM_INT) |
| | $mode = required_param('mode', PARAM_ALPHA) |
| | $hook = optional_param('hook','ALL', PARAM_ALPHANUM) |
| | $sortkey = optional_param('sortkey','UPDATE', PARAM_ALPHA) |
| | $url = new moodle_url('/mod/glossary/print.php', array('id'=>$id)) |
| | $context = get_context_instance(CONTEXT_MODULE, $cm->id) |
| | $fmtoptions |
| | $textlib = textlib_get_instance() |
| | Loading the textlib singleton instance. We are going to need it.
|
| | $entriesshown = 0 |
| | $currentpivot = '' |
| if($hook== 'SPECIAL') | $site = $DB->get_record("course", array("id"=>1)) |
| | if ($allentries) |
Variable Documentation
setting the default values for the display mode of the current glossary only if the glossary is viewed by the first time
Definition at line 168 of file print.php.
Initial value:
Definition at line 58 of file print.php.
| if ($hook== 'SPECIAL') $site = $DB->get_record("course", array("id"=>1)) |
Loading the textlib singleton instance. We are going to need it.
Definition at line 67 of file print.php.