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

Public Member Functions | |
| __construct () | |
| parse (&$string, $options=array()) | |
| get_token ($name) | |
Protected Member Functions | |
| set_options ($options) | |
| process_block_rule ($name, $block) | |
| rules (&$text, $rules=null) | |
| protect ($text) | |
Protected Attributes | |
| $string | |
| $blockrules = array() | |
| $tagrules = array() | |
| $parser_status = 'Before' | |
| $returnvalues = array() | |
| $nowikitoken = "%!" | |
Definition at line 81 of file parser.php.
| __construct | ( | ) |
Reimplemented in html_parser.
Definition at line 101 of file parser.php.
| get_token | ( | $ | name | ) |
Get token of the parsable element $name.
Definition at line 275 of file parser.php.
| process_block_rule | ( | $ | name, |
| $ | block | ||
| ) | [protected] |
Block processing function & callbacks
Definition at line 149 of file parser.php.

| protect | ( | $ | text | ) | [protected] |
| rules | ( | &$ | text, |
| $ | rules = null |
||
| ) | [final, protected] |
Rules processing function & callback
Definition at line 187 of file parser.php.

| set_options | ( | $ | options | ) | [protected] |
Initialize options
Reimplemented in wiki_markup_parser.
Definition at line 143 of file parser.php.

$blockrules = array() [protected] |
Reimplemented in nwiki_parser, creole_parser, and html_parser.
Definition at line 84 of file parser.php.
$nowikitoken = "%!" [protected] |
Definition at line 99 of file parser.php.
$parser_status = 'Before' [protected] |
Definition at line 89 of file parser.php.
$returnvalues = array() [protected] |
Dynamic return values
Definition at line 95 of file parser.php.
$string [protected] |
Definition at line 82 of file parser.php.
$tagrules = array() [protected] |
Reimplemented in nwiki_parser, and creole_parser.
Definition at line 85 of file parser.php.