Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
search_parser Class Reference

This class takes care of sticking the proper token type/value pairs into the parsed token array. More...

Public Member Functions

 accept ()
 
 get_parsed_array ()
 
 indatefrom ($content)
 
 indateto ($content)
 
 inexcluded ($content)
 
 ininstance ($content)
 
 inmeta ($content)
 
 inquotedstring ($content)
 
 inrequired ($content)
 
 intags ($content)
 
 inuserid ($content)
 
 inusername ($content)
 
 plainstring ($content)
 

Detailed Description

This class takes care of sticking the proper token type/value pairs into the parsed token array.

Most functions in this class should only be called by the lexer, the one exception being getParseArray() which returns the result.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

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