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


Protected Member Functions | |
| before_parsing () | |
| header_block_rule ($match) | |
| table_block_rule ($match) | |
| paragraph_block_rule ($match) | |
| url_tag_rule ($match) | |
| link_tag_rule ($match) | |
| bold_tag_rule ($match) | |
| image_tag_rule ($match) | |
Protected Attributes | |
| $blockrules | |
| $tagrules | |
Definition at line 14 of file creole.php.
| before_parsing | ( | ) | [protected] |
| bold_tag_rule | ( | $ | match | ) | [protected] |
Special treatment of // ** // ** //
Definition at line 196 of file creole.php.

| header_block_rule | ( | $ | match | ) | [protected] |
| image_tag_rule | ( | $ | match | ) | [protected] |
| link_tag_rule | ( | $ | match | ) | [protected] |
| paragraph_block_rule | ( | $ | match | ) | [protected] |
Definition at line 141 of file creole.php.
| table_block_rule | ( | $ | match | ) | [protected] |
Table generation
Definition at line 108 of file creole.php.

| url_tag_rule | ( | $ | match | ) | [protected] |
Tag functions
Definition at line 170 of file creole.php.
$blockrules [protected] |
array( 'nowiki' => array( 'expression' => "/^\{\{\{(.*?)\}\}\}/ims", 'tags' => array(), 'token' => array('{{{', '}}}') ), 'header' => array( 'expression' => "/^\ *(={1,6})\ *(.+?)=*\ *$/ims", 'tags' => array(), 'token' => '=' ), 'table' => array( 'expression' => "/^(?:\|.*?\|\ *\n)+/ims" ), 'line_break' => array( 'expression' => "/^----\s*$/im", 'token' => '----', 'tags' => array() ), 'list' => array( 'expression' => "/((?:^\ *[\*#][^\*#]\ *.+?)(?:^\ *[\*#]{1,5}\ *.+?)*)(\n\s*(?:\n|<(?:h\d|pre|table|tbody|thead|tr|th|td|ul|li|ol|hr)))/ims", 'tags' => array(), 'token' => array('*', '#') ), 'paragraph' => array( 'expression' => "/^\ *((?:<(?!\ *\/?(?:h\d|pre|table|tbody|thead|tr|th|td|ul|li|ol|hr)\ *\/?>)|[^<\s]).+?)\n\s*\n/ims", 'tag' => 'p' ) )
Reimplemented from generic_parser.
Definition at line 16 of file creole.php.
$tagrules [protected] |
Reimplemented from generic_parser.
Definition at line 47 of file creole.php.