Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/tag/index.php File Reference

Go to the source code of this file.

Namespaces

namespace  core

Variables

if(empty($CFG->usetags)) $tagid = optional_param('id', 0, PARAM_INT)
 $tagname = optional_param('tag', '', PARAM_TAG)
 $edit = optional_param('edit', -1, PARAM_BOOL)
 $userpage = optional_param('userpage', 0, PARAM_INT)
 $perpage = optional_param('perpage', 24, PARAM_INT)
 $systemcontext = get_context_instance(CONTEXT_SYSTEM)
 $title = get_string('tag', 'tag') .' - '. $tagname
 $button = ''
 if ($tag->flag > 0 &&has_capability('moodle/tag:manage', $systemcontext))
if($courses=coursetag_get_tagged_courses($tag->
id)) if(has_capability('moodle/blog:view',
$systemcontext)) 
$usercount = tag_record_count('user', $tag->id)

Variable Documentation

$button = ''

Definition at line 69 of file index.php.

Definition at line 40 of file index.php.

$perpage = optional_param('perpage', 24, PARAM_INT)

Definition at line 42 of file index.php.

Definition at line 44 of file index.php.

if (empty($CFG->usetags)) $tagid = optional_param('id', 0, PARAM_INT)

Definition at line 37 of file index.php.

if (has_capability('moodle/tag:manage', $systemcontext)) $tagname = optional_param('tag', '', PARAM_TAG)

Definition at line 38 of file index.php.

$title = get_string('tag', 'tag') .' - '. $tagname

Definition at line 67 of file index.php.

if ($courses=coursetag_get_tagged_courses($tag->id)) if (has_capability('moodle/blog:view', $systemcontext)) $usercount = tag_record_count('user', $tag->id)

Definition at line 161 of file index.php.

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

Definition at line 41 of file index.php.

if($usercount > 0)

Definition at line 88 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations