ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
parse () | |
setFields (array $fields) | |
Set the fields to query for ILIAS 10: the values are not boolean, but different query strings for the fields. More... | |
getFields () | |
Get the fields to query for ILIAS 10 the values are not boolean, but different query strings for the fields. More... | |
![]() | |
__construct ($a_query_string) | |
Constructor. More... | |
parse () | |
parse query string More... | |
parseAutoWildcard () | |
Append asterisk for remote search from global search form field. More... | |
getQuery () | |
Private Attributes | |
array | $fields = [] |
Additional Inherited Members | |
![]() | |
static | validateQuery ($a_query) |
![]() | |
replaceOwnerCallback (array $matches) | |
Replace owner callback (preg_replace_callback) More... | |
![]() | |
static | checkAllowedCharacters (string $query) |
Check allowed characters. More... | |
static | checkAsterisk (string $query) |
Check asterisk. More... | |
static | checkAmpersands (string $query) |
Check ampersands. More... | |
static | checkCaret (string $query) |
Check carets. More... | |
static | checkSquiggle (string $query) |
Check squiggles. More... | |
static | checkExclamationMark (string $query) |
Check exclamation marks (replacement for NOT) More... | |
static | checkQuestionMark (string $query) |
Check question mark (wild card single character) More... | |
static | checkParenthesis (string $a_query) |
Check parenthesis. More... | |
static | checkPlusMinus (string $a_query) |
Check plus minus. More... | |
static | checkANDORNOT (string $a_query) |
Check AND OR NOT. More... | |
static | checkQuotes (string $a_query) |
Check quotes. More... | |
static | checkColon (string $a_query) |
Check colon. More... | |
![]() | |
string | $query_string |
string | $parsed_query = '' |
Definition at line 21 of file class.ilMailLuceneQueryParser.php.
ilMailLuceneQueryParser::getFields | ( | ) |
Get the fields to query for ILIAS 10 the values are not boolean, but different query strings for the fields.
Definition at line 78 of file class.ilMailLuceneQueryParser.php.
References $fields.
Referenced by parse().
ilMailLuceneQueryParser::parse | ( | ) |
Definition at line 26 of file class.ilMailLuceneQueryParser.php.
References ilLuceneQueryParser\$query_string, $token, getFields(), ilSearchSettings\getInstance(), and ilSearchSettings\OPERATOR_AND.
ilMailLuceneQueryParser::setFields | ( | array | $fields | ) |
Set the fields to query for ILIAS 10: the values are not boolean, but different query strings for the fields.
array{'title' | ?string, 'content': ?string, 'mattachment': ?string, 'msender': ?string}|array{} $fields |
Definition at line 68 of file class.ilMailLuceneQueryParser.php.
References $fields.
|
private |
Definition at line 24 of file class.ilMailLuceneQueryParser.php.
Referenced by getFields(), and setFields().