Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
generic_parser Class Reference

Public Member Functions

 get_token ($name)
 Get token of the parsable element $name.
 
 parse (&$string, $options=array())
 Parse function.
 

Protected Member Functions

 process_block_rule ($name, $block)
 Block processing function & callbacks.
 
 protect ($text)
 
 rules (&$text, $rules=null)
 Rules processing function & callback.
 
 set_options ($options)
 Initialize options.
 

Protected Attributes

 $blockrules = array()
 
 $nowikitoken = "%!"
 
 $parserstatus = 'Before'
 
 $returnvalues = array()
 Dynamic return values.
 
 $string
 
 $tagrules = array()
 

The documentation for this class was generated from the following file: