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

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

global $CFG

Definition at line 3 of file print.php.

Definition at line 55 of file print.php.

$currentpivot = ''

Definition at line 169 of file print.php.

$displayformat = optional_param('displayformat',-1, PARAM_INT)

Definition at line 11 of file print.php.

$entriesshown = 0

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.

$fmtoptions
Initial value:
 array(
    'context' => $context)

Definition at line 58 of file print.php.

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

Definition at line 14 of file print.php.

Definition at line 8 of file print.php.

Definition at line 13 of file print.php.

Definition at line 10 of file print.php.

if ($hook== 'SPECIAL') $site = $DB->get_record("course", array("id"=>1))

Definition at line 174 of file print.php.

$sortkey = optional_param('sortkey','UPDATE', PARAM_ALPHA)

Definition at line 15 of file print.php.

$sortorder = optional_param('sortorder', 'asc', PARAM_ALPHA)

Definition at line 9 of file print.php.

Loading the textlib singleton instance. We are going to need it.

Definition at line 67 of file print.php.

$url = new moodle_url('/mod/glossary/print.php', array('id'=>$id))

Definition at line 17 of file print.php.

if($allentries)

Definition at line 179 of file print.php.

 All Data Structures Namespaces Files Functions Variables Enumerations