Moodle  2.2.1
http://www.collinsharper.com
wiki_markup_parser Class Reference
Inheritance diagram for wiki_markup_parser:
Collaboration diagram for wiki_markup_parser:

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()

Detailed Description

Definition at line 12 of file wikimarkup.php.


Member Function Documentation

after_parsing ( ) [protected]

Reimplemented in nwiki_parser.

Definition at line 67 of file wikimarkup.php.

Here is the call graph for this function:

before_parsing ( ) [protected]

Before and after parsing...

Reimplemented in creole_parser, and html_parser.

Definition at line 53 of file wikimarkup.php.

Here is the call graph for this function:

format_image ( src,
alt,
caption = "",
align = 'left' 
) [protected]

Definition at line 321 of file wikimarkup.php.

Here is the call graph for this function:

Here is the caller graph for this function:

format_link ( text) [protected]

Format links

Definition at line 358 of file wikimarkup.php.

Here is the call graph for this function:

Here is the caller graph for this function:

generate_header ( text,
level 
) [protected]

Header generation

Definition at line 180 of file wikimarkup.php.

Here is the call graph for this function:

Here is the caller graph for this function:

generate_list ( listitems) [protected]

List generation function from an array of array(level, text)

Definition at line 271 of file wikimarkup.php.

Here is the call graph for this function:

generate_table ( table) [protected]

Table generation functions

Definition at line 315 of file wikimarkup.php.

Here is the caller graph for this function:

get_repeated_sections ( &$  text,
repeated = array() 
) [protected]

Reimplemented in html_parser.

Definition at line 413 of file wikimarkup.php.

Here is the caller graph for this function:

get_repeated_sections_callback ( match) [protected]

Reimplemented in html_parser.

Definition at line 418 of file wikimarkup.php.

get_section ( header,
text,
clean = false 
)

Section editing

Reimplemented in html_parser.

Definition at line 397 of file wikimarkup.php.

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.

Here is the caller graph for this function:

list_block_rule ( match) [protected]

Definition at line 158 of file wikimarkup.php.

nowiki_block_rule ( match) [protected]

Definition at line 164 of file wikimarkup.php.

Here is the call graph for this function:

nowiki_tag_rule ( match) [protected]

Generic tag rules

Definition at line 172 of file wikimarkup.php.

Here is the call graph for this function:

process_toc ( ) [protected]

Table of contents processing after parsing

Definition at line 199 of file wikimarkup.php.

Here is the call graph for this function:

Here is the caller graph for this function:

real_path ( url) [protected]

Definition at line 326 of file wikimarkup.php.

Here is the caller graph for this function:

set_options ( options) [protected]

Set options

Reimplemented from generic_parser.

Definition at line 84 of file wikimarkup.php.


Field Documentation

$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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations