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