Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: