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]

(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