ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
ilQueryParser ($a_query_str) | |
Constructor public. | |
setMinWordLength ($a_length, $a_force=false) | |
getMinWordLength () | |
setGlobalMinLength ($a_value) | |
getGlobalMinLength () | |
setAllowedWildcards ($a_value) | |
getAllowedWildcards () | |
setMessage ($a_msg) | |
getMessage () | |
appendMessage ($a_msg) | |
setCombination ($a_combination) | |
getCombination () | |
getQueryString () | |
getWords () | |
getQuotedWords ($with_quotation=false) | |
getLuceneQueryString () | |
parse () | |
__parseQuotation () | |
validate () |
Data Fields | |
$lng = null | |
$min_word_length = 0 | |
$global_min_length = null | |
$query_str | |
$quoted_words = array() | |
$message | |
$combination |
Protected Attributes | |
$settings = null | |
$wildcards_allowed |
Definition at line 38 of file class.ilQueryParser.php.
ilQueryParser::__parseQuotation | ( | ) |
Definition at line 241 of file class.ilQueryParser.php.
References $query_str, getAllowedWildcards(), getQueryString(), and ilUtil\prepareDBString().
Referenced by parse().
ilQueryParser::appendMessage | ( | $a_msg | ) |
Definition at line 133 of file class.ilQueryParser.php.
References getMessage().
ilQueryParser::getAllowedWildcards | ( | ) |
Definition at line 120 of file class.ilQueryParser.php.
References $wildcards_allowed.
Referenced by __parseQuotation(), and parse().
ilQueryParser::getCombination | ( | ) |
Definition at line 146 of file class.ilQueryParser.php.
References $combination.
Referenced by getLuceneQueryString().
ilQueryParser::getGlobalMinLength | ( | ) |
Definition at line 110 of file class.ilQueryParser.php.
References $global_min_length.
Referenced by validate().
ilQueryParser::getLuceneQueryString | ( | ) |
Definition at line 176 of file class.ilQueryParser.php.
References getCombination(), and getQuotedWords().
ilQueryParser::getMessage | ( | ) |
Definition at line 129 of file class.ilQueryParser.php.
References $message.
Referenced by appendMessage(), and validate().
ilQueryParser::getMinWordLength | ( | ) |
Definition at line 92 of file class.ilQueryParser.php.
References $min_word_length.
Referenced by parse(), and validate().
ilQueryParser::getQueryString | ( | ) |
Definition at line 151 of file class.ilQueryParser.php.
Referenced by __parseQuotation(), parse(), and validate().
ilQueryParser::getQuotedWords | ( | $with_quotation = false | ) |
Definition at line 160 of file class.ilQueryParser.php.
Referenced by getLuceneQueryString().
ilQueryParser::getWords | ( | ) |
Definition at line 155 of file class.ilQueryParser.php.
Referenced by validate().
ilQueryParser::ilQueryParser | ( | $a_query_str | ) |
Constructor public.
Definition at line 57 of file class.ilQueryParser.php.
References $lng, ilSearchSettings\getInstance(), setAllowedWildcards(), and setMinWordLength().
ilQueryParser::parse | ( | ) |
Definition at line 189 of file class.ilQueryParser.php.
References __parseQuotation(), getAllowedWildcards(), getMinWordLength(), getQueryString(), ilUtil\prepareDBString(), and setMessage().
ilQueryParser::setAllowedWildcards | ( | $a_value | ) |
Definition at line 115 of file class.ilQueryParser.php.
Referenced by ilQueryParser().
ilQueryParser::setCombination | ( | $a_combination | ) |
Definition at line 142 of file class.ilQueryParser.php.
ilQueryParser::setGlobalMinLength | ( | $a_value | ) |
Definition at line 97 of file class.ilQueryParser.php.
ilQueryParser::setMessage | ( | $a_msg | ) |
Definition at line 125 of file class.ilQueryParser.php.
Referenced by parse(), and validate().
ilQueryParser::setMinWordLength | ( | $a_length, | |
$a_force = false |
|||
) |
Definition at line 79 of file class.ilQueryParser.php.
References $GLOBALS.
Referenced by ilQueryParser(), ilAuthShibbolethSettingsGUI\loadRule(), and ilObjectCopyGUI\searchSource().
ilQueryParser::validate | ( | ) |
Definition at line 281 of file class.ilQueryParser.php.
References getGlobalMinLength(), getMessage(), getMinWordLength(), getQueryString(), getWords(), and setMessage().
ilQueryParser::$combination |
Definition at line 49 of file class.ilQueryParser.php.
Referenced by getCombination().
ilQueryParser::$global_min_length = null |
Definition at line 43 of file class.ilQueryParser.php.
Referenced by getGlobalMinLength().
ilQueryParser::$lng = null |
Definition at line 40 of file class.ilQueryParser.php.
Referenced by ilQueryParser().
ilQueryParser::$message |
Definition at line 48 of file class.ilQueryParser.php.
Referenced by getMessage().
ilQueryParser::$min_word_length = 0 |
Definition at line 42 of file class.ilQueryParser.php.
Referenced by getMinWordLength().
ilQueryParser::$query_str |
Definition at line 46 of file class.ilQueryParser.php.
Referenced by __parseQuotation().
ilQueryParser::$quoted_words = array() |
Definition at line 47 of file class.ilQueryParser.php.
|
protected |
Definition at line 50 of file class.ilQueryParser.php.
|
protected |
Definition at line 51 of file class.ilQueryParser.php.
Referenced by getAllowedWildcards().