Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

(no description)

File Size: 441 lines (14 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: wiki_markup_parser  - X-Ref

Generic & abstract parser functions & skeleton. It has some functions & generic stuff.

before_parsing()   X-Ref
Before and after parsing...


after_parsing()   X-Ref
No description

set_options($options)   X-Ref
Set options


line_break_block_rule($match)   X-Ref
Generic block rules


list_block_rule($match)   X-Ref
No description

nowiki_block_rule($match)   X-Ref
No description

nowiki_tag_rule($match)   X-Ref
Generic tag rules


generate_header($text, $level)   X-Ref
Header generation


process_toc()   X-Ref
Table of contents processing after parsing


process_block_list($listitems)   X-Ref
List helpers


generate_list($listitems)   X-Ref
List generation function from an array of array(level, text)


generate_table($table)   X-Ref
Table generation functions


format_image($src, $alt, $caption = "", $align = 'left')   X-Ref
No description

real_path($url)   X-Ref
No description

link($link, $anchor = "")   X-Ref
Link internal callback


format_link($text)   X-Ref
Format links


get_section($header, $text, $clean = false)   X-Ref
Section editing


get_repeated_sections(&$text, $repeated = array()   X-Ref
No description

get_repeated_sections_callback($match)   X-Ref
No description