| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | 1999 onwards Martin Dougiamas {@link http://moodle.com} |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 584 lines (20 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
search_token:: (4 methods):
search_token()
sanitize()
getValue()
getType()
search_lexer:: (1 method):
search_lexer()
search_parser:: (14 methods):
get_parsed_array()
accept()
indatefrom()
indateto()
ininstance()
inuserid()
inusername()
inmeta()
inrequired()
inexcluded()
inquotedstring()
plainstring()
search_generate_text_SQL()
search_generate_SQL()
Class: search_lexer - X-Ref
This class does the heavy lifting of lexing the search string into tokens.| search_lexer(&$parser) X-Ref |
| No description |
Class: search_parser - X-Ref
This class takes care of sticking the proper token type/value pairs into| get_parsed_array() X-Ref |
| No description |
| accept() X-Ref |
| No description |
| indatefrom($content) X-Ref |
| No description |
| indateto($content) X-Ref |
| No description |
| ininstance($content) X-Ref |
| No description |
| inuserid($content) X-Ref |
| No description |
| inusername($content) X-Ref |
| No description |
| inmeta($content) X-Ref |
| No description |
| inrequired($content) X-Ref |
| No description |
| inexcluded($content) X-Ref |
| No description |
| inquotedstring($content) X-Ref |
| No description |
| plainstring($content) X-Ref |
| No description |
| search_generate_text_SQL($parsetree, $datafield, $metafield, $mainidfield, $useridfield,$userfirstnamefield, $userlastnamefield, $timefield, $instancefield) X-Ref |
| Primitive function to generate a SQL string from a parse tree using TEXT indexes. If searches aren't suitable to use TEXT this function calls the default search_generate_SQL() one. $parsetree should be a parse tree generated by a search_lexer/search_parser combination. Other fields are database table names to search. |
| search_generate_SQL($parsetree, $datafield, $metafield, $mainidfield, $useridfield,$userfirstnamefield, $userlastnamefield, $timefield, $instancefield) X-Ref |
| Primitive function to generate a SQL string from a parse tree. Parameters: $parsetree should be a parse tree generated by a search_lexer/search_parser combination. Other fields are database table names to search. |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |