| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
search More...
 Collaboration diagram for ilSearch:
 Collaboration diagram for ilSearch:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::__parseSearchString | ( | ) | 
Definition at line 242 of file class.ilSearch.php.
References __prepareWord(), getCombination(), and getSearchString().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSearch::__prepareWord | ( | $a_word | ) | 
Definition at line 457 of file class.ilSearch.php.
Referenced by __parseSearchString().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::__readDBResult | ( | ) | 
Definition at line 311 of file class.ilSearch.php.
References $query, $res, $row, __updateDBResult(), __validateResults(), DB_FETCHMODE_OBJECT, getUserId(), and setResult().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSearch::__updateDBResult | ( | ) | 
Definition at line 285 of file class.ilSearch.php.
References getResults(), and getUserId().
Referenced by __readDBResult(), and performSearch().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::__validateResults | ( | ) | 
Definition at line 368 of file class.ilSearch.php.
References $data, __checkAccess(), ilObjectFactory\getInstanceByObjId(), and setResult().
Referenced by __readDBResult(), and performSearch().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::getCombination | ( | ) | 
Definition at line 115 of file class.ilSearch.php.
Referenced by __parseSearchString(), initQueryParser(), and performObjectSearch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::getNumberOfResults | ( | ) | 
Definition at line 161 of file class.ilSearch.php.
References getResultByType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSearch::getPerformUpdate | ( | ) | 
Definition at line 150 of file class.ilSearch.php.
References $perform_update.
Referenced by performSearch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::getResultByType | ( | $a_type | ) | 
Definition at line 142 of file class.ilSearch.php.
Referenced by getNumberOfResults().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::getResults | ( | ) | 
Definition at line 138 of file class.ilSearch.php.
Referenced by __updateDBResult().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::getSearchFor | ( | ) | 
Definition at line 119 of file class.ilSearch.php.
Referenced by performSearch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
perform object search
Definition at line 507 of file class.ilSearch.php.
References $res, and getCombination().
Referenced by performSearch().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| @return | 
Definition at line 528 of file class.ilSearch.php.
Referenced by performSearch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::performSearch | ( | ) | 
Definition at line 186 of file class.ilSearch.php.
References $ilBench, $result, __updateDBResult(), __validateResults(), getPerformUpdate(), getSearchFor(), initQueryParser(), performObjectSearch(), performRoleSearch(), performUserSearch(), and setResult().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSearch::setResult | ( | $a_result | ) | 
Definition at line 80 of file class.ilSearch.php.
Referenced by __readDBResult(), __validateResults(), and performSearch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().