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

Go to the source code of this file.

Variables

if(!isset($sortorder)) if(!isset($sortkey)) $sortkey = clean_param($sortkey, PARAM_ALPHA)
 $sortorder = clean_param($sortorder, PARAM_ALPHA)
 $toolsrow = array()
 $browserow = array()
 $inactive = array()
 $activated = array()
if(!has_capability('mod/glossary:approve',
$context)&&$tab==GLOSSARY_APPROVAL_VIEW
$browserow []
if($tab
< GLOSSARY_STANDARD_VIEW||$tab >
GLOSSARY_AUTHOR_VIEW
$tabrows = array()
 Put all this info together.
 $tabrows [] = $browserow
if($toolsrow) if($showcommonelements)
if(!isset($category)) 
switch ($tab)

Variable Documentation

$activated = array()

Definition at line 16 of file tabs.php.

$browserow = array()

Definition at line 14 of file tabs.php.

$browserow[]
Initial value:
 new tabobject(GLOSSARY_STANDARD_VIEW,
                                 $CFG->wwwroot.'/mod/glossary/view.php?id='.$id.'&amp;mode=letter',
                                 get_string('standardview', 'glossary'))

Non-teachers going to approval view go to defaulttab

Definition at line 24 of file tabs.php.

$inactive = array()

Definition at line 15 of file tabs.php.

if (!isset($sortorder)) if (!isset($sortkey)) $sortkey = clean_param($sortkey, PARAM_ALPHA)

Definition at line 10 of file tabs.php.

$sortorder = clean_param($sortorder, PARAM_ALPHA)

Definition at line 11 of file tabs.php.

if ($tab< GLOSSARY_STANDARD_VIEW||$tab > GLOSSARY_AUTHOR_VIEW) $tabrows = array()

Put all this info together.

Definition at line 49 of file tabs.php.

$tabrows[] = $browserow

Definition at line 50 of file tabs.php.

$toolsrow = array()

Definition at line 13 of file tabs.php.

if ($toolsrow) if ($showcommonelements) if (!isset($category)) switch($tab)

Definition at line 71 of file tabs.php.

 All Data Structures Namespaces Files Functions Variables Enumerations