Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
wiki_parser_proxy Class Reference

Generic parser implementation. More...

Static Public Member Functions

static get_section (&$string, $type, $section, $allcontent=false)
 
static get_token ($name, $type)
 
static parse (&$string, $type, $options=[])
 Parse a string using a specific parser.
 

Detailed Description

Generic parser implementation.

Author
Josep Arús
License
http://www.gnu.org/copyleft/gpl.html GNU Public License

Member Function Documentation

◆ parse()

static wiki_parser_proxy::parse ( & $string,
$type,
$options = [] )
static

Parse a string using a specific parser.

Parameters
string$stringThe string to parse
string$typeThe parser type
array$optionsThe parser options
Return values
mixedThe parsed string or false if the parser type is not found

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