Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

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: 198 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