|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
search More...
Collaboration diagram for ilSearch:Public Member Functions | |
| __construct ($a_user_id=0, $a_read=false) | |
| Constructor @access public. More... | |
| 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 More... | |
| performObjectSearch ($a_type) | |
| perform object search More... | |
| performRoleSearch () | |
| initQueryParser () | |
| init query parser More... | |
Protected Attributes | |
| $qp = null | |
| ilSearch::__construct | ( | $a_user_id = 0, |
|
$a_read = false |
|||
| ) |
Constructor @access public.
Definition at line 43 of file class.ilSearch.php.
References $DIC, $ilias, $lng, $rbacsystem, setEmptySearch(), and setPerformUpdate().
Here is the call graph for this function:| ilSearch::__checkAccess | ( | $a_results, | |
| $a_type | |||
| ) |
Definition at line 340 of file class.ilSearch.php.
Referenced by __validateResults().
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:| ilSearch::__prepareWord | ( | $a_word | ) |
Definition at line 428 of file class.ilSearch.php.
Referenced by __parseSearchString().
Here is the caller graph for this function:| ilSearch::__readDBResult | ( | ) |
Definition at line 306 of file class.ilSearch.php.
References $DIC, $ilDB, $query, $res, __updateDBResult(), __validateResults(), ilDBConstants\FETCHMODE_OBJECT, getUserId(), and setResult().
Here is the call graph for this function:| ilSearch::__updateDBResult | ( | ) |
Definition at line 279 of file class.ilSearch.php.
References $DIC, $ilDB, getResults(), and getUserId().
Referenced by __readDBResult(), and performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearch::__validateResults | ( | ) |
Definition at line 358 of file class.ilSearch.php.
References $data, $DIC, __checkAccess(), ilObjectFactory\getInstanceByObjId(), and setResult().
Referenced by __readDBResult(), and performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearch::getCombination | ( | ) |
Definition at line 119 of file class.ilSearch.php.
Referenced by __parseSearchString(), initQueryParser(), and performObjectSearch().
Here is the caller graph for this function:| ilSearch::getEmptySearch | ( | ) |
| ilSearch::getMinWordLength | ( | ) |
Definition at line 105 of file class.ilSearch.php.
References $min_word_length.
Referenced by initQueryParser().
Here is the caller graph for this function:| ilSearch::getNumberOfResults | ( | ) |
Definition at line 162 of file class.ilSearch.php.
References getResultByType().
Here is the call graph for this function:| ilSearch::getPerformUpdate | ( | ) |
Definition at line 151 of file class.ilSearch.php.
References $perform_update.
Referenced by performSearch().
Here is the caller graph for this function:| ilSearch::getResultByType | ( | $a_type | ) |
Definition at line 143 of file class.ilSearch.php.
References $a_type.
Referenced by getNumberOfResults().
Here is the caller graph for this function:| ilSearch::getResults | ( | ) |
Definition at line 139 of file class.ilSearch.php.
Referenced by __updateDBResult().
Here is the caller graph for this function:| ilSearch::getSearchFor | ( | ) |
Definition at line 123 of file class.ilSearch.php.
Referenced by performSearch().
Here is the caller graph for this function:| ilSearch::getSearchIn | ( | ) |
Definition at line 127 of file class.ilSearch.php.
| ilSearch::getSearchInByType | ( | $a_type | ) |
| ilSearch::getSearchString | ( | ) |
Definition at line 115 of file class.ilSearch.php.
References $search_string.
Referenced by __parseSearchString(), and initQueryParser().
Here is the caller graph for this function:| ilSearch::getSearchType | ( | ) |
| ilSearch::getUserId | ( | ) |
Definition at line 111 of file class.ilSearch.php.
References $user_id.
Referenced by __readDBResult(), __updateDBResult(), and performUserSearch().
Here is the caller graph for this function:
|
protected |
init query parser
Definition at line 511 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 caller graph for this function:
|
protected |
perform object search
Definition at line 472 of file class.ilSearch.php.
References $a_type, $res, and getCombination().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
return
Definition at line 492 of file class.ilSearch.php.
Referenced by performSearch().
Here is the caller graph for this function:| ilSearch::performSearch | ( | ) |
Definition at line 186 of file class.ilSearch.php.
References $DIC, $ilBench, $result, __updateDBResult(), __validateResults(), getPerformUpdate(), getSearchFor(), initQueryParser(), performObjectSearch(), performRoleSearch(), performUserSearch(), and setResult().
Here is the call graph for this function:
|
protected |
perform a search for users
Definition at line 446 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 caller graph for this function:| ilSearch::setCombination | ( | $a_combination | ) |
Definition at line 71 of file class.ilSearch.php.
| ilSearch::setEmptySearch | ( | $a_value | ) |
Definition at line 96 of file class.ilSearch.php.
Referenced by __construct().
Here is the caller graph for this function:| ilSearch::setMinWordLength | ( | $a_min_word_length | ) |
Definition at line 101 of file class.ilSearch.php.
| ilSearch::setPerformUpdate | ( | $a_value | ) |
Definition at line 92 of file class.ilSearch.php.
Referenced by __construct().
Here is the caller graph for this function:| ilSearch::setResult | ( | $a_result | ) |
Definition at line 84 of file class.ilSearch.php.
Referenced by __readDBResult(), __validateResults(), and performSearch().
Here is the caller graph for this function:| ilSearch::setSearchFor | ( | $a_search_for | ) |
Definition at line 76 of file class.ilSearch.php.
| ilSearch::setSearchIn | ( | $a_search_in | ) |
Definition at line 80 of file class.ilSearch.php.
| ilSearch::setSearchString | ( | $a_search_str | ) |
Definition at line 67 of file class.ilSearch.php.
| ilSearch::setSearchType | ( | $a_type | ) |
Definition at line 88 of file class.ilSearch.php.
References $a_type.
| ilSearch::validate | ( | & | $message | ) |
Definition at line 175 of file class.ilSearch.php.
References $message, and initQueryParser().
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 __construct().
| ilSearch::$lng |
Definition at line 24 of file class.ilSearch.php.
Referenced by __construct().
| 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 __construct().
| 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().