|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| get_section ($header, $text, $clean=false) | |
Protected Member Functions | |
| before_parsing () | |
| after_parsing () | |
| set_options ($options) | |
| line_break_block_rule ($match) | |
| list_block_rule ($match) | |
| nowiki_block_rule ($match) | |
| nowiki_tag_rule ($match) | |
| generate_header ($text, $level) | |
| process_toc () | |
| generate_list ($listitems) | |
| generate_table ($table) | |
| format_image ($src, $alt, $caption="", $align= 'left') | |
| real_path ($url) | |
| link ($link, $anchor="") | |
| format_link ($text) | |
| get_repeated_sections (&$text, $repeated=array()) | |
| get_repeated_sections_callback ($match) | |
Protected Attributes | |
| $pretty_print = false | |
| $printable = false | |
| $wiki_page_id | |
| $section_edit_text = "[edit]" | |
| $repeated_sections | |
| $section_editing = true | |
| $toc = array() | |
Definition at line 12 of file wikimarkup.php.
| after_parsing | ( | ) | [protected] |
Reimplemented in nwiki_parser.
Definition at line 67 of file wikimarkup.php.

| before_parsing | ( | ) | [protected] |
Before and after parsing...
Reimplemented in creole_parser, and html_parser.
Definition at line 53 of file wikimarkup.php.

| format_image | ( | $ | src, |
| $ | alt, | ||
| $ | caption = "", |
||
| $ | align = 'left' |
||
| ) | [protected] |
Definition at line 321 of file wikimarkup.php.


| format_link | ( | $ | text | ) | [protected] |
Format links
Definition at line 358 of file wikimarkup.php.


| generate_header | ( | $ | text, |
| $ | level | ||
| ) | [protected] |
Header generation
Definition at line 180 of file wikimarkup.php.


| generate_list | ( | $ | listitems | ) | [protected] |
List generation function from an array of array(level, text)
Definition at line 271 of file wikimarkup.php.

| generate_table | ( | $ | table | ) | [protected] |
Table generation functions
Definition at line 315 of file wikimarkup.php.

| get_repeated_sections | ( | &$ | text, |
| $ | repeated = array() |
||
| ) | [protected] |
Reimplemented in html_parser.
Definition at line 413 of file wikimarkup.php.

| get_repeated_sections_callback | ( | $ | match | ) | [protected] |
Reimplemented in html_parser.
Definition at line 418 of file wikimarkup.php.
| get_section | ( | $ | header, |
| $ | text, | ||
| $ | clean = false |
||
| ) |
| line_break_block_rule | ( | $ | match | ) | [protected] |
Generic block rules
Definition at line 154 of file wikimarkup.php.
| link | ( | $ | link, |
| $ | anchor = "" |
||
| ) | [protected] |
Link internal callback
Definition at line 335 of file wikimarkup.php.

| list_block_rule | ( | $ | match | ) | [protected] |
Definition at line 158 of file wikimarkup.php.
| nowiki_block_rule | ( | $ | match | ) | [protected] |
| nowiki_tag_rule | ( | $ | match | ) | [protected] |
Generic tag rules
Definition at line 172 of file wikimarkup.php.

| process_toc | ( | ) | [protected] |
Table of contents processing after parsing
Definition at line 199 of file wikimarkup.php.


| real_path | ( | $ | url | ) | [protected] |
| set_options | ( | $ | options | ) | [protected] |
$pretty_print = false [protected] |
Definition at line 14 of file wikimarkup.php.
$printable = false [protected] |
Definition at line 15 of file wikimarkup.php.
$repeated_sections [protected] |
Definition at line 22 of file wikimarkup.php.
$section_edit_text = "[edit]" [protected] |
Definition at line 21 of file wikimarkup.php.
$section_editing = true [protected] |
Reimplemented in html_parser.
Definition at line 24 of file wikimarkup.php.
$toc = array() [protected] |
Definition at line 27 of file wikimarkup.php.
$wiki_page_id [protected] |
Definition at line 18 of file wikimarkup.php.