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

Go to the source code of this file.

Namespaces

namespace  core

Variables

 $tag_id = optional_param('id', 0, PARAM_INT)
 $tag_name = optional_param('tag', '', PARAM_TAG)
if(empty($CFG->usetags)) $systemcontext = get_context_instance(CONTEXT_SYSTEM)
 $tagname = tag_display_name($tag)
$tag relatedtags = tag_get_related_tags_csv(tag_get_related_tags($tag->id, TAG_RELATED_MANUAL), TAG_RETURN_TEXT)
if(can_use_html_editor()) $errorstring = ''
 $editoroptions
 $tag = file_prepare_standard_editor($tag, 'description', $editoroptions, $systemcontext, 'tag', 'description', $tag->id)
 $tagform = new tag_edit_form(null, compact('editoroptions'))
 if (ajaxenabled())

Variable Documentation

$editoroptions
Initial value:
 array(
    'maxfiles'  => EDITOR_UNLIMITED_FILES,
    'maxbytes'  => $CFG->maxbytes,
    'trusttext' => false,
    'context'   => $systemcontext
)

Definition at line 80 of file edit.php.

if (can_use_html_editor()) $errorstring = ''

Definition at line 78 of file edit.php.

if (empty($CFG->usetags)) $systemcontext = get_context_instance(CONTEXT_SYSTEM)

Definition at line 39 of file edit.php.

$tag = file_prepare_standard_editor($tag, 'description', $editoroptions, $systemcontext, 'tag', 'description', $tag->id)

Definition at line 86 of file edit.php.

$tag_id = optional_param('id', 0, PARAM_INT)

Definition at line 29 of file edit.php.

$tag_name = optional_param('tag', '', PARAM_TAG)

Definition at line 30 of file edit.php.

$tagform = new tag_edit_form(null, compact('editoroptions'))

Definition at line 88 of file edit.php.

$tagname = tag_display_name($tag)

Definition at line 63 of file edit.php.

Definition at line 170 of file edit.php.

 All Data Structures Namespaces Files Functions Variables Enumerations