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

Go to the source code of this file.

Variables

 $id = required_param('id', PARAM_INT)
 This file allows to manage the default behaviour of the display formats.
 $mode = optional_param('mode', '', PARAM_ACTION)
 $url = new moodle_url('/mod/glossary/formats.php', array('id'=>$id))
if(!$displayformat=$DB->
get_record("glossary_formats",
array("id"=> $id))) 
$form = data_submitted()
if($mode== 'visible'and
confirm_sesskey()) elseif($mode==
'edit'and $form and
confirm_sesskey()) 
$strmodulename = get_string("modulename", "glossary")
 $strdisplayformats = get_string("displayformats","glossary")
 $yes = get_string("yes")
 $no = get_string("no")
 $recformats = glossary_get_available_formats()
 $formats = array()
 $sletter = ''
 $scat = ''
 $sauthor = ''
 $sdate = ''
switch(strtolower($displayformat->
defaultmode)) p($sletter)?>>
<?php print_string("letter" 
glossary
 $sall = ''
 $sspecial = ''
 $sallcategories = ''
 $snocategorised = ''
 $sfname = ''
 $slname = ''
 $supdate = ''
 $screation = ''
 $sasc = ''
 $sdesc = ''
 $yselected = ""
 $nselected = ""

Variable Documentation

if (!$displayformat=$DB->get_record("glossary_formats", array("id"=> $id))) $form = data_submitted()

Definition at line 24 of file formats.php.

$formats = array()

Definition at line 78 of file formats.php.

This file allows to manage the default behaviour of the display formats.

Definition at line 9 of file formats.php.

Definition at line 10 of file formats.php.

$no = get_string("no")

Definition at line 61 of file formats.php.

$nselected = ""

Definition at line 236 of file formats.php.

Definition at line 76 of file formats.php.

$sall = ''

Definition at line 136 of file formats.php.

$sallcategories = ''

Definition at line 138 of file formats.php.

$sasc = ''

Definition at line 210 of file formats.php.

$sauthor = ''

Definition at line 101 of file formats.php.

$scat = ''

Definition at line 100 of file formats.php.

$screation = ''

Definition at line 176 of file formats.php.

$sdate = ''

Definition at line 102 of file formats.php.

$sdesc = ''

Definition at line 211 of file formats.php.

$sfname = ''

Definition at line 173 of file formats.php.

$sletter = ''

Definition at line 99 of file formats.php.

$slname = ''

Definition at line 174 of file formats.php.

$snocategorised = ''

Definition at line 139 of file formats.php.

$sspecial = ''

Definition at line 137 of file formats.php.

$strdisplayformats = get_string("displayformats","glossary")

Definition at line 51 of file formats.php.

if ($mode== 'visible'and confirm_sesskey()) elseif ($mode== 'edit'and $form and confirm_sesskey()) $strmodulename = get_string("modulename", "glossary")

Definition at line 50 of file formats.php.

$supdate = ''

Definition at line 175 of file formats.php.

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

Definition at line 12 of file formats.php.

$yes = get_string("yes")

Definition at line 60 of file formats.php.

$yselected = ""

Definition at line 235 of file formats.php.

p ($sauthor)?>><?php print_string("author" glossary

Definition at line 121 of file formats.php.

 All Data Structures Namespaces Files Functions Variables Enumerations