Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: