|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilQueryParser:Public Member Functions | |
| __construct (string $a_query_str) | |
| setMinWordLength (int $a_length) | |
| getMinWordLength () | |
| setGlobalMinLength (int $a_value) | |
| getGlobalMinLength () | |
| setAllowedWildcards (bool $a_value) | |
| getAllowedWildcards () | |
| setMessage (string $a_msg) | |
| getMessage () | |
| appendMessage (string $a_msg) | |
| setCombination (string $a_combination) | |
| getCombination () | |
| getQueryString () | |
| getWords () | |
| getQuotedWords (bool $with_quotation=false) | |
| getLuceneQueryString () | |
| parse () | |
| __parseQuotation () | |
| validate () | |
Data Fields | |
| const | MIN_WORD_LENGTH = 3 |
| Minimum of characters required for search. More... | |
| const | QP_COMBINATION_AND = 'and' |
| const | QP_COMBINATION_OR = 'or' |
Protected Attributes | |
| ilLanguage | $lng |
| ilSearchSettings | $settings |
Private Attributes | |
| int | $min_word_length = 0 |
| int | $global_min_length = 0 |
| string | $query_str |
| array | $quoted_words = array() |
| string | $message |
| string | $combination = '' |
| bool | $wildcards_allowed |
| array | $words |
Definition at line 31 of file class.ilQueryParser.php.
| ilQueryParser::__construct | ( | string | $a_query_str | ) |
Definition at line 57 of file class.ilQueryParser.php.
References $DIC, ilSearchSettings\getInstance(), ILIAS\Repository\lng(), setAllowedWildcards(), setMinWordLength(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilQueryParser::__parseQuotation | ( | ) |
Definition at line 218 of file class.ilQueryParser.php.
References $query_str, $words, getAllowedWildcards(), and getQueryString().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilQueryParser::appendMessage | ( | string | $a_msg | ) |
Definition at line 119 of file class.ilQueryParser.php.
References getMessage().
Here is the call graph for this function:| ilQueryParser::getAllowedWildcards | ( | ) |
Definition at line 106 of file class.ilQueryParser.php.
References $wildcards_allowed.
Referenced by __parseQuotation(), and parse().
Here is the caller graph for this function:| ilQueryParser::getCombination | ( | ) |
Definition at line 131 of file class.ilQueryParser.php.
References $combination.
Referenced by getLuceneQueryString().
Here is the caller graph for this function:| ilQueryParser::getGlobalMinLength | ( | ) |
Definition at line 96 of file class.ilQueryParser.php.
References $global_min_length.
Referenced by validate().
Here is the caller graph for this function:| ilQueryParser::getLuceneQueryString | ( | ) |
Definition at line 164 of file class.ilQueryParser.php.
References getCombination(), and getQuotedWords().
Here is the call graph for this function:| ilQueryParser::getMessage | ( | ) |
Definition at line 115 of file class.ilQueryParser.php.
References $message.
Referenced by appendMessage(), and validate().
Here is the caller graph for this function:| ilQueryParser::getMinWordLength | ( | ) |
Definition at line 82 of file class.ilQueryParser.php.
References $min_word_length.
Referenced by parse(), and validate().
Here is the caller graph for this function:| ilQueryParser::getQueryString | ( | ) |
Definition at line 136 of file class.ilQueryParser.php.
Referenced by __parseQuotation(), parse(), and validate().
Here is the caller graph for this function:| ilQueryParser::getQuotedWords | ( | bool | $with_quotation = false | ) |
Definition at line 152 of file class.ilQueryParser.php.
Referenced by getLuceneQueryString().
Here is the caller graph for this function:| ilQueryParser::getWords | ( | ) |
Definition at line 144 of file class.ilQueryParser.php.
Referenced by validate().
Here is the caller graph for this function:| ilQueryParser::parse | ( | ) |
Definition at line 176 of file class.ilQueryParser.php.
References $words, __parseQuotation(), getAllowedWildcards(), getMinWordLength(), getQueryString(), ILIAS\Repository\lng(), and setMessage().
Here is the call graph for this function:| ilQueryParser::setAllowedWildcards | ( | bool | $a_value | ) |
Definition at line 101 of file class.ilQueryParser.php.
Referenced by __construct().
Here is the caller graph for this function:| ilQueryParser::setCombination | ( | string | $a_combination | ) |
Definition at line 127 of file class.ilQueryParser.php.
| ilQueryParser::setGlobalMinLength | ( | int | $a_value | ) |
Definition at line 87 of file class.ilQueryParser.php.
| ilQueryParser::setMessage | ( | string | $a_msg | ) |
Definition at line 111 of file class.ilQueryParser.php.
Referenced by parse(), and validate().
Here is the caller graph for this function:| ilQueryParser::setMinWordLength | ( | int | $a_length | ) |
Definition at line 77 of file class.ilQueryParser.php.
Referenced by __construct().
Here is the caller graph for this function:| ilQueryParser::validate | ( | ) |
Definition at line 253 of file class.ilQueryParser.php.
References getGlobalMinLength(), getMessage(), getMinWordLength(), getQueryString(), getWords(), ILIAS\Repository\lng(), and setMessage().
Here is the call graph for this function:
|
private |
Definition at line 49 of file class.ilQueryParser.php.
Referenced by getCombination().
|
private |
Definition at line 44 of file class.ilQueryParser.php.
Referenced by getGlobalMinLength().
|
protected |
Definition at line 40 of file class.ilQueryParser.php.
|
private |
Definition at line 48 of file class.ilQueryParser.php.
Referenced by getMessage().
|
private |
Definition at line 43 of file class.ilQueryParser.php.
Referenced by getMinWordLength().
|
private |
Definition at line 46 of file class.ilQueryParser.php.
Referenced by __parseQuotation().
|
private |
Definition at line 47 of file class.ilQueryParser.php.
|
protected |
Definition at line 41 of file class.ilQueryParser.php.
|
private |
Definition at line 50 of file class.ilQueryParser.php.
Referenced by getAllowedWildcards().
|
private |
Definition at line 54 of file class.ilQueryParser.php.
Referenced by __parseQuotation(), and parse().
| const ilQueryParser::MIN_WORD_LENGTH = 3 |
Minimum of characters required for search.
Definition at line 36 of file class.ilQueryParser.php.
Referenced by ilUserAutoComplete\getList().
| const ilQueryParser::QP_COMBINATION_AND = 'and' |
Definition at line 37 of file class.ilQueryParser.php.
Referenced by ilRepositorySearchGUI\__parseQueryString(), ilSoapObjectAdministration\getObjectsByTitle(), ilLDAPSettingsGUI\loadRoleAssignmentRule(), ilAuthShibbolethSettingsGUI\loadRule(), ilObjStudyProgrammeAutoMembershipsGUI\parseQueryString(), ilRepositoryObjectDetailSearch\performDBSearch(), ilUserStartingPointGUI\saveStartingPoint(), ilDclRecordEditGUI\searchObjects(), ilSoapObjectAdministration\searchObjects(), ilSoapRBACAdministration\searchRoles(), ilObjectCopyGUI\searchSource(), ilInternalLink\searchUsers(), ilMailSearchGUI\showResults(), and ilLDAPSettingsGUI\showRoleSelection().
| const ilQueryParser::QP_COMBINATION_OR = 'or' |
Definition at line 38 of file class.ilQueryParser.php.
Referenced by ilAbstractSearch\__createLocateString(), ilUserSearchFilter\__parseQueryString(), ilRepositorySearchGUI\__parseQueryString(), ilAdvancedSearchGUI\__performContentSearch(), ilAdvancedSearchGUI\__performEntitySearch(), ilAdvancedSearchGUI\__performGeneralSearch(), ilAdvancedSearchGUI\__performKeywordSearch(), ilAdvancedSearchGUI\__performLifecycleSearch(), ilAdvancedSearchGUI\__performTaxonSearch(), ilAdvancedSearchGUI\__performTitleSearch(), ilRepositoryObjectDetailSearch\performDBSearch(), ilSoapObjectAdministration\searchObjects(), ilSoapRBACAdministration\searchRoles(), and ilCalendarCategoryGUI\sharePerformSearch().