ILIAS
Release_4_0_x_branch Revision 61816
|
search More...
Public Member Functions | |
ilSearch ($a_user_id=0, $a_read=false) | |
Constructor public. | |
setSearchString ($a_search_str) | |
setCombination ($a_combination) | |
setSearchFor ($a_search_for) | |
setSearchIn ($a_search_in) | |
setResult ($a_result) | |
setSearchType ($a_type) | |
setPerformUpdate ($a_value) | |
setEmptySearch ($a_value) | |
setMinWordLength ($a_min_word_length) | |
getMinWordLength () | |
getUserId () | |
getSearchString () | |
getCombination () | |
getSearchFor () | |
getSearchIn () | |
getSearchInByType ($a_type) | |
getResults () | |
getResultByType ($a_type) | |
getSearchType () | |
getPerformUpdate () | |
getEmptySearch () | |
getNumberOfResults () | |
validate (&$message) | |
performSearch () | |
__parseSearchString () | |
__updateDBResult () | |
__readDBResult () | |
__checkAccess ($a_results, $a_type) | |
__validateResults () | |
__prepareWord ($a_word) |
Protected Member Functions | |
performUserSearch () | |
perform a search for users | |
performObjectSearch ($a_type) | |
perform object search | |
performRoleSearch () | |
initQueryParser () | |
init query parser |
Protected Attributes | |
$qp = null |
ilSearch::__checkAccess | ( | $a_results, | |
$a_type | |||
) |
Definition at line 349 of file class.ilSearch.php.
References $result.
Referenced by __validateResults().
ilSearch::__parseSearchString | ( | ) |
Definition at line 242 of file class.ilSearch.php.
References __prepareWord(), getCombination(), and getSearchString().
ilSearch::__prepareWord | ( | $a_word | ) |
Definition at line 457 of file class.ilSearch.php.
Referenced by __parseSearchString().
ilSearch::__readDBResult | ( | ) |
Definition at line 311 of file class.ilSearch.php.
References $ilDB, $query, $res, $row, __updateDBResult(), __validateResults(), DB_FETCHMODE_OBJECT, getUserId(), and setResult().
ilSearch::__updateDBResult | ( | ) |
Definition at line 285 of file class.ilSearch.php.
References $ilDB, getResults(), and getUserId().
Referenced by __readDBResult(), and performSearch().
ilSearch::__validateResults | ( | ) |
Definition at line 368 of file class.ilSearch.php.
References $data, $user, __checkAccess(), ilObjectFactory\getInstanceByObjId(), and setResult().
Referenced by __readDBResult(), and performSearch().
ilSearch::getCombination | ( | ) |
Definition at line 115 of file class.ilSearch.php.
Referenced by __parseSearchString(), initQueryParser(), and performObjectSearch().
ilSearch::getEmptySearch | ( | ) |
Definition at line 154 of file class.ilSearch.php.
References $allow_empty_search.
ilSearch::getMinWordLength | ( | ) |
Definition at line 101 of file class.ilSearch.php.
References $min_word_length.
Referenced by initQueryParser().
ilSearch::getNumberOfResults | ( | ) |
Definition at line 161 of file class.ilSearch.php.
References getResultByType().
ilSearch::getPerformUpdate | ( | ) |
Definition at line 150 of file class.ilSearch.php.
References $perform_update.
Referenced by performSearch().
ilSearch::getResultByType | ( | $a_type | ) |
Definition at line 142 of file class.ilSearch.php.
Referenced by getNumberOfResults().
ilSearch::getResults | ( | ) |
Definition at line 138 of file class.ilSearch.php.
Referenced by __updateDBResult().
ilSearch::getSearchFor | ( | ) |
Definition at line 119 of file class.ilSearch.php.
Referenced by performSearch().
ilSearch::getSearchIn | ( | ) |
Definition at line 123 of file class.ilSearch.php.
ilSearch::getSearchInByType | ( | $a_type | ) |
Definition at line 127 of file class.ilSearch.php.
ilSearch::getSearchString | ( | ) |
Definition at line 111 of file class.ilSearch.php.
References $search_string.
Referenced by __parseSearchString(), and initQueryParser().
ilSearch::getSearchType | ( | ) |
Definition at line 146 of file class.ilSearch.php.
References $search_type.
ilSearch::getUserId | ( | ) |
Definition at line 107 of file class.ilSearch.php.
References $user_id.
Referenced by __readDBResult(), __updateDBResult(), and performUserSearch().
ilSearch::ilSearch | ( | $a_user_id = 0 , |
|
$a_read = false |
|||
) |
Constructor public.
Definition at line 43 of file class.ilSearch.php.
References $ilias, $lng, $rbacsystem, setEmptySearch(), and setPerformUpdate().
|
protected |
init query parser
Definition at line 548 of file class.ilSearch.php.
References getCombination(), getMinWordLength(), getSearchString(), QP_COMBINATION_AND, and QP_COMBINATION_OR.
Referenced by performSearch(), and validate().
|
protected |
perform object search
Definition at line 507 of file class.ilSearch.php.
References $res, and getCombination().
Referenced by performSearch().
|
protected |
@return |
Definition at line 528 of file class.ilSearch.php.
Referenced by performSearch().
ilSearch::performSearch | ( | ) |
Definition at line 186 of file class.ilSearch.php.
References $ilBench, $result, __updateDBResult(), __validateResults(), getPerformUpdate(), getSearchFor(), initQueryParser(), performObjectSearch(), performRoleSearch(), performUserSearch(), and setResult().
|
protected |
perform a search for users
Definition at line 479 of file class.ilSearch.php.
References $data, $res, ilObjectSearchFactory\_getUserSearchInstance(), and getUserId().
Referenced by performSearch().
ilSearch::setCombination | ( | $a_combination | ) |
Definition at line 67 of file class.ilSearch.php.
ilSearch::setEmptySearch | ( | $a_value | ) |
Definition at line 92 of file class.ilSearch.php.
Referenced by ilSearch().
ilSearch::setMinWordLength | ( | $a_min_word_length | ) |
Definition at line 97 of file class.ilSearch.php.
ilSearch::setPerformUpdate | ( | $a_value | ) |
Definition at line 88 of file class.ilSearch.php.
Referenced by ilPaymentTrusteeGUI\__search(), ilPaymentStatisticGUI\__search(), ilObjPaymentSettingsGUI\__searchSP(), and ilSearch().
ilSearch::setResult | ( | $a_result | ) |
Definition at line 80 of file class.ilSearch.php.
Referenced by __readDBResult(), __validateResults(), and performSearch().
ilSearch::setSearchFor | ( | $a_search_for | ) |
Definition at line 72 of file class.ilSearch.php.
ilSearch::setSearchIn | ( | $a_search_in | ) |
Definition at line 76 of file class.ilSearch.php.
ilSearch::setSearchString | ( | $a_search_str | ) |
Definition at line 63 of file class.ilSearch.php.
ilSearch::setSearchType | ( | $a_type | ) |
Definition at line 84 of file class.ilSearch.php.
ilSearch::validate | ( | & | $message | ) |
Definition at line 174 of file class.ilSearch.php.
References initQueryParser().
ilSearch::$allow_empty_search |
Definition at line 38 of file class.ilSearch.php.
Referenced by getEmptySearch().
ilSearch::$combination |
Definition at line 29 of file class.ilSearch.php.
ilSearch::$ilias |
Definition at line 23 of file class.ilSearch.php.
Referenced by ilSearch().
ilSearch::$lng |
Definition at line 24 of file class.ilSearch.php.
Referenced by ilSearch().
ilSearch::$min_word_length = 3 |
Definition at line 30 of file class.ilSearch.php.
Referenced by getMinWordLength().
ilSearch::$parsed_str |
Definition at line 28 of file class.ilSearch.php.
ilSearch::$perform_update |
Definition at line 35 of file class.ilSearch.php.
Referenced by getPerformUpdate().
|
protected |
Definition at line 16 of file class.ilSearch.php.
ilSearch::$rbacsystem |
Definition at line 25 of file class.ilSearch.php.
Referenced by ilSearch().
ilSearch::$read_db_result |
Definition at line 36 of file class.ilSearch.php.
ilSearch::$result |
Definition at line 34 of file class.ilSearch.php.
Referenced by __checkAccess(), and performSearch().
ilSearch::$search_for |
Definition at line 31 of file class.ilSearch.php.
ilSearch::$search_in |
Definition at line 32 of file class.ilSearch.php.
ilSearch::$search_string |
Definition at line 27 of file class.ilSearch.php.
Referenced by getSearchString().
ilSearch::$search_type |
Definition at line 33 of file class.ilSearch.php.
Referenced by getSearchType().
ilSearch::$user_id |
Definition at line 26 of file class.ilSearch.php.
Referenced by getUserId().