Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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: