Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 402] [Versions 39 and 403]

This file contains all necessary code to define a wiki editor

Author: Josep Arus
Copyright: 2009 Marc Alier, Jordi Piguillem marc.alier@upc.edu
Copyright: 2009 Universitat Politecnica de Catalunya http://www.upc.edu
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 195 lines (8 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 2 classes

MoodleQuickForm_wikieditor:: (2 methods):
  __construct()
  MoodleQuickForm_wikieditor()

name:: (9 methods):
  setWikiFormat()
  toHtml()
  creoleEditor()
  nwikiEditor()
  printWikiEditor()
  getButtons()
  getTokens()
  escapeToken()
  export_for_template()


Class: MoodleQuickForm_wikieditor  - X-Ref

__construct($elementName = null, $elementLabel = null, $attributes = null)   X-Ref
Constructor

param: string $elementName (optional) name of the text field
param: string $elementLabel (optional) text field label
param: string $attributes (optional) Either a typical HTML attribute string or an associative array

MoodleQuickForm_wikieditor($elementName = null, $elementLabel = null, $attributes = null)   X-Ref
Old syntax of class constructor. Deprecated in PHP7.


Class: name  - X-Ref

setWikiFormat($wikiformat)   X-Ref
No description

toHtml()   X-Ref
No description

creoleEditor($textarea)   X-Ref
No description

nwikiEditor($textarea)   X-Ref
No description

printWikiEditor($textarea)   X-Ref
No description

getButtons()   X-Ref
No description

getTokens($format, $token)   X-Ref
No description

escapeToken(&$token)   X-Ref
No description

export_for_template(renderer_base $output)   X-Ref
No description