ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
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().
ilQueryParser::__parseQuotation | ( | ) |
Definition at line 218 of file class.ilQueryParser.php.
References getAllowedWildcards(), and getQueryString().
Referenced by parse().
ilQueryParser::appendMessage | ( | string | $a_msg | ) |
Definition at line 119 of file class.ilQueryParser.php.
References getMessage().
ilQueryParser::getAllowedWildcards | ( | ) |
Definition at line 106 of file class.ilQueryParser.php.
References $wildcards_allowed.
Referenced by __parseQuotation(), and parse().
ilQueryParser::getCombination | ( | ) |
Definition at line 131 of file class.ilQueryParser.php.
References $combination.
Referenced by getLuceneQueryString().
ilQueryParser::getGlobalMinLength | ( | ) |
Definition at line 96 of file class.ilQueryParser.php.
References $global_min_length.
Referenced by validate().
ilQueryParser::getLuceneQueryString | ( | ) |
Definition at line 164 of file class.ilQueryParser.php.
References getCombination(), and getQuotedWords().
ilQueryParser::getMessage | ( | ) |
Definition at line 115 of file class.ilQueryParser.php.
References $message.
Referenced by appendMessage(), and validate().
ilQueryParser::getMinWordLength | ( | ) |
Definition at line 82 of file class.ilQueryParser.php.
References $min_word_length.
Referenced by parse(), and validate().
ilQueryParser::getQueryString | ( | ) |
Definition at line 136 of file class.ilQueryParser.php.
Referenced by __parseQuotation(), parse(), and validate().
ilQueryParser::getQuotedWords | ( | bool | $with_quotation = false | ) |
Definition at line 152 of file class.ilQueryParser.php.
Referenced by getLuceneQueryString(), and ilAdvancedMDFieldDefinitionText\searchObjects().
ilQueryParser::getWords | ( | ) |
Definition at line 144 of file class.ilQueryParser.php.
Referenced by validate().
ilQueryParser::parse | ( | ) |
Definition at line 176 of file class.ilQueryParser.php.
References __parseQuotation(), getAllowedWildcards(), getMinWordLength(), getQueryString(), ILIAS\Repository\lng(), and setMessage().
ilQueryParser::setAllowedWildcards | ( | bool | $a_value | ) |
Definition at line 101 of file class.ilQueryParser.php.
Referenced by __construct().
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().
ilQueryParser::setMinWordLength | ( | int | $a_length | ) |
Definition at line 77 of file class.ilQueryParser.php.
Referenced by __construct(), ilLDAPSettingsGUI\loadRoleAssignmentRule(), ilAuthShibbolethSettingsGUI\loadRule(), and ilUserStartingPointGUI\saveStartingPoint().
ilQueryParser::validate | ( | ) |
Definition at line 253 of file class.ilQueryParser.php.
References getGlobalMinLength(), getMessage(), getMinWordLength(), getQueryString(), getWords(), ILIAS\Repository\lng(), and setMessage().
|
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.
|
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.
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(), ilSoapObjectAdministration\searchObjects(), ilLPTableBaseGUI\searchObjects(), ilDclRecordEditGUI\searchObjects(), ilSoapRBACAdministration\searchRoles(), ilObjectCopyGUI\searchSource(), ilInternalLink\searchUsers(), ilMailSearchGUI\showResults(), ilLDAPSettingsGUI\showRoleSelection(), and ilUserStartingPointGUI\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(), ILIAS\UI\Component\Legacy\Content\Filter\FilterManager\apply(), ilRepositoryObjectDetailSearch\performDBSearch(), ilSoapObjectAdministration\searchObjects(), ilSoapRBACAdministration\searchRoles(), and ilCalendarCategoryGUI\sharePerformSearch().