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

Go to the source code of this file.

Variables

 $id = required_param('id', PARAM_INT)
 This page allows to edit entries categories for a particular instance of glossary.
 $usedynalink = optional_param('usedynalink', 0, PARAM_INT)
 $confirm = optional_param('confirm', 0, PARAM_INT)
 $name = optional_param('name', '', PARAM_CLEAN)
 $action = optional_param('action', '', PARAM_ALPHA )
 $hook = optional_param('hook', '', PARAM_ALPHANUM)
 $mode = optional_param('mode', '', PARAM_ALPHA)
 $url = new moodle_url('/mod/glossary/editcategories.php', array('id'=>$id))
 $context = get_context_instance(CONTEXT_MODULE, $cm->id)
 $strglossaries = get_string("modulenameplural", "glossary")
 $strglossary = get_string("modulename", "glossary")
 $fmtoptions
if($categories) $options ['id'] = $cm->id
 $options ['action'] = "add"
 $options ['mode'] = 'cat'
 $options ['hook'] = $hook

Variable Documentation

Definition at line 13 of file editcategories.php.

Definition at line 10 of file editcategories.php.

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

Definition at line 83 of file editcategories.php.

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

Definition at line 14 of file editcategories.php.

This page allows to edit entries categories for a particular instance of glossary.

Definition at line 8 of file editcategories.php.

Definition at line 15 of file editcategories.php.

Definition at line 11 of file editcategories.php.

if ($categories) $options['id'] = $cm->id

Definition at line 254 of file editcategories.php.

$options['action'] = "add"

Definition at line 255 of file editcategories.php.

$options['mode'] = 'cat'

Definition at line 261 of file editcategories.php.

$options['hook'] = $hook

Definition at line 262 of file editcategories.php.

$strglossaries = get_string("modulenameplural", "glossary")

Definition at line 69 of file editcategories.php.

$strglossary = get_string("modulename", "glossary")

Definition at line 70 of file editcategories.php.

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

Definition at line 19 of file editcategories.php.

$usedynalink = optional_param('usedynalink', 0, PARAM_INT)

Definition at line 9 of file editcategories.php.

 All Data Structures Namespaces Files Functions Variables Enumerations