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

Go to the source code of this file.

Variables

 $courseid = optional_param('courseid', 0, PARAM_INT)
 $keyword = optional_param('coursetag_new_tag', '', PARAM_TEXT)
 $deltag = optional_param('del_tag', 0, PARAM_INT)
 $url = new moodle_url('/tag/coursetags_edit.php')
 $canedit = has_capability('moodle/tag:create', $sitecontext)
 $tagslang = 'block_tags'
if($data=data_submitted()) $title = get_string('edittitle', $tagslang)
 $coursefullname = format_string($course->fullname)
 $courseshortname = format_string($course->shortname, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id)))
 $mytags = coursetag_print_cloud(coursetag_get_tags(0, $USER->id, 'default'), true)
 $outstr
 if ($canedit)

Variable Documentation

$canedit = has_capability('moodle/tag:create', $sitecontext)

Definition at line 46 of file coursetags_edit.php.

$coursefullname = format_string($course->fullname)

Definition at line 69 of file coursetags_edit.php.

coursetags_edit.php displays personal tags for a course with some editing facilites

Author:
j.beedell@open.ac.uk June07

Definition at line 13 of file coursetags_edit.php.

$courseshortname = format_string($course->shortname, true, array('context' => get_context_instance(CONTEXT_COURSE, $course->id)))

Definition at line 70 of file coursetags_edit.php.

$deltag = optional_param('del_tag', 0, PARAM_INT)

Definition at line 15 of file coursetags_edit.php.

$keyword = optional_param('coursetag_new_tag', '', PARAM_TEXT)

Definition at line 14 of file coursetags_edit.php.

Definition at line 81 of file coursetags_edit.php.

$outstr
Initial value:
 '
        <div class="coursetag_edit_centered">
            <div>
                '.get_string('editmytags', $tagslang).'
            </div>
            <div>'

Definition at line 82 of file coursetags_edit.php.

$tagslang = 'block_tags'

Definition at line 49 of file coursetags_edit.php.

$title = get_string('edittitle', $tagslang)

Definition at line 68 of file coursetags_edit.php.

$url = new moodle_url('/tag/coursetags_edit.php')

Definition at line 17 of file coursetags_edit.php.

Definition at line 101 of file coursetags_edit.php.

 All Data Structures Namespaces Files Functions Variables Enumerations