ILIAS
release_4-3 Revision
|
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 132 of file class.ilQueryParser.php.
References getMessage().
ilQueryParser::getAllowedWildcards | ( | ) |
Definition at line 119 of file class.ilQueryParser.php.
References $wildcards_allowed.
Referenced by __parseQuotation(), and parse().
ilQueryParser::getCombination | ( | ) |
Definition at line 145 of file class.ilQueryParser.php.
References $combination.
Referenced by getLuceneQueryString().
ilQueryParser::getGlobalMinLength | ( | ) |
Definition at line 109 of file class.ilQueryParser.php.
References $global_min_length.
Referenced by validate().
ilQueryParser::getLuceneQueryString | ( | ) |
Definition at line 175 of file class.ilQueryParser.php.
References getCombination(), and getQuotedWords().
ilQueryParser::getMessage | ( | ) |
Definition at line 128 of file class.ilQueryParser.php.
References $message.
Referenced by appendMessage(), and validate().
ilQueryParser::getMinWordLength | ( | ) |
Definition at line 91 of file class.ilQueryParser.php.
References $min_word_length.
Referenced by parse(), and validate().
ilQueryParser::getQueryString | ( | ) |
Definition at line 150 of file class.ilQueryParser.php.
Referenced by __parseQuotation(), parse(), and validate().
ilQueryParser::getQuotedWords | ( | $with_quotation = false | ) |
Definition at line 159 of file class.ilQueryParser.php.
Referenced by getLuceneQueryString().
ilQueryParser::getWords | ( | ) |
Definition at line 154 of file class.ilQueryParser.php.
Referenced by validate().
ilQueryParser::ilQueryParser | ( | $a_query_str | ) |
Constructor public.
Definition at line 56 of file class.ilQueryParser.php.
References $lng, ilSearchSettings\getInstance(), setAllowedWildcards(), and setMinWordLength().
ilQueryParser::parse | ( | ) |
Definition at line 188 of file class.ilQueryParser.php.
References __parseQuotation(), getAllowedWildcards(), getMinWordLength(), getQueryString(), ilUtil\prepareDBString(), and setMessage().
ilQueryParser::setAllowedWildcards | ( | $a_value | ) |
Definition at line 114 of file class.ilQueryParser.php.
Referenced by ilQueryParser().
ilQueryParser::setCombination | ( | $a_combination | ) |
Definition at line 141 of file class.ilQueryParser.php.
ilQueryParser::setGlobalMinLength | ( | $a_value | ) |
Definition at line 96 of file class.ilQueryParser.php.
ilQueryParser::setMessage | ( | $a_msg | ) |
Definition at line 124 of file class.ilQueryParser.php.
Referenced by parse(), and validate().
ilQueryParser::setMinWordLength | ( | $a_length, | |
$a_force = false |
|||
) |
Definition at line 78 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 48 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 47 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 45 of file class.ilQueryParser.php.
Referenced by __parseQuotation().
ilQueryParser::$quoted_words = array() |
Definition at line 46 of file class.ilQueryParser.php.
|
protected |
Definition at line 49 of file class.ilQueryParser.php.
|
protected |
Definition at line 50 of file class.ilQueryParser.php.
Referenced by getAllowedWildcards().