ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Static Public Member Functions | |
static | getInstance () |
static | getLuceneItemFilterDefinitions () |
Get lucene item filter definitions. More... | |
static | getLuceneMimeFilterDefinitions () |
static | _getSearchSettingRefId () |
Read the ref_id of Search Settings object. More... | |
Data Fields | |
const | LIKE_SEARCH = 0 |
const | INDEX_SEARCH = 1 |
const | LUCENE_SEARCH = 2 |
const | OPERATOR_AND = 1 |
const | OPERATOR_OR = 2 |
$ilias = null | |
$max_hits = null | |
$index = null | |
Protected Attributes | |
$default_operator = self::OPERATOR_AND | |
$fragmentSize = 30 | |
$fragmentCount = 3 | |
$numSubitems = 5 | |
$showRelevance = true | |
$last_index_date = null | |
$lucene_item_filter_enabled = false | |
$lucene_item_filter = array() | |
$lucene_offline_filter = true | |
$auto_complete_length = 10 | |
$show_inactiv_user = true | |
$show_limited_user = true | |
$lucene_mime_filter_enabled = false | |
$lucene_mime_filter = array() | |
$showSubRelevance = false | |
$prefix_wildcard = false | |
$user_search = false | |
$date_filter = false | |
Static Protected Attributes | |
static | $instance = null |
Definition at line 14 of file class.ilSearchSettings.php.
ilSearchSettings::__construct | ( | ) |
Definition at line 51 of file class.ilSearchSettings.php.
References $ilias, and __read().
ilSearchSettings::__read | ( | ) |
Definition at line 466 of file class.ilSearchSettings.php.
References $ilSetting, $time, enableDateFilter(), enableIndex(), enableLucene(), enableLuceneItemFilter(), enableLuceneMimeFilter(), enableLuceneOfflineFilter(), enableLuceneUserSearch(), enablePrefixWildcardQuery(), getLuceneItemFilter(), getLuceneMimeFilter(), IL_CAL_UNIX, isLuceneOfflineFilterEnabled(), setAutoCompleteLength(), setDefaultOperator(), setFragmentCount(), setFragmentSize(), setHideAdvancedSearch(), setLastIndexTime(), setLuceneItemFilter(), setLuceneMimeFilter(), setMaxHits(), setMaxSubitems(), showInactiveUser(), showLimitedUser(), showRelevance(), and showSubRelevance().
Referenced by __construct().
|
static |
Read the ref_id of Search Settings object.
normally used for rbacsystem->checkAccess()
Definition at line 161 of file class.ilSearchSettings.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilSearchController\executeCommand(), and ilMainMenuGUI\setTemplateVars().
ilSearchSettings::enableDateFilter | ( | $a_filter | ) |
Definition at line 428 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enabledIndex | ( | ) |
Definition at line 182 of file class.ilSearchSettings.php.
References $ilDB.
Referenced by update().
ilSearchSettings::enabledLucene | ( | ) |
Definition at line 195 of file class.ilSearchSettings.php.
Referenced by update().
ilSearchSettings::enableIndex | ( | $a_status | ) |
Definition at line 191 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enableLucene | ( | $a_status | ) |
Definition at line 199 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enableLuceneItemFilter | ( | $a_status | ) |
Definition at line 287 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enableLuceneMimeFilter | ( | $a_stat | ) |
Enable lucene mime filter.
type | $a_stat |
Definition at line 351 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enableLuceneOfflineFilter | ( | $a_stat | ) |
Definition at line 308 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enableLuceneUserSearch | ( | $a_status | ) |
Enable lucene user search.
type | $a_status |
Definition at line 378 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enablePrefixWildcardQuery | ( | $a_stat | ) |
Definition at line 144 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::getAutoCompleteLength | ( | ) |
Definition at line 246 of file class.ilSearchSettings.php.
References $auto_complete_length.
Referenced by update().
ilSearchSettings::getDefaultOperator | ( | ) |
Definition at line 213 of file class.ilSearchSettings.php.
References $default_operator.
Referenced by update().
ilSearchSettings::getEnabledLuceneItemFilterDefinitions | ( | ) |
Get lucene item filter definitions.
Definition at line 111 of file class.ilSearchSettings.php.
References $def, array, getLuceneItemFilter(), and isLuceneItemFilterEnabled().
ilSearchSettings::getEnabledLuceneMimeFilterDefinitions | ( | ) |
Definition at line 128 of file class.ilSearchSettings.php.
References $def, array, getLuceneMimeFilter(), and isLuceneItemFilterEnabled().
ilSearchSettings::getFragmentCount | ( | ) |
Definition at line 255 of file class.ilSearchSettings.php.
References $fragmentCount.
Referenced by update().
ilSearchSettings::getFragmentSize | ( | ) |
Definition at line 228 of file class.ilSearchSettings.php.
References $fragmentSize.
Referenced by update().
ilSearchSettings::getHideAdvancedSearch | ( | ) |
Definition at line 238 of file class.ilSearchSettings.php.
Referenced by update().
|
static |
Definition at line 65 of file class.ilSearchSettings.php.
Referenced by ilRepositoryObjectSearchResultTableGUI\__construct(), ilMailAutoCompleteRecipientResult\__construct(), ilRepositoryObjectDetailSearch\__construct(), ilSearchGUI\__construct(), ilLuceneSearchResultFilter\__construct(), ilQueryParser\__construct(), ilSubItemListGUI\__construct(), ilObjectSearchFactory\_getAdvancedSearchInstance(), ilObjectSearchFactory\_getExerciseSearchInstance(), ilObjectSearchFactory\_getForumSearchInstance(), ilObjectSearchFactory\_getGlossaryDefinitionSearchInstance(), ilObjectSearchFactory\_getLMContentSearchInstance(), ilObjectSearchFactory\_getMediacastSearchInstance(), ilObjectSearchFactory\_getMediaPoolSearchInstance(), ilObjectSearchFactory\_getMetaDataSearchInstance(), ilObjectSearchFactory\_getTestSearchInstance(), ilObjectSearchFactory\_getWebresourceSearchInstance(), ilObjectSearchFactory\_getWikiContentSearchInstance(), ilSearchResultPresentation\appendRelevance(), ilSearchResultTableGUI\enabledRelevance(), ilLuceneAdvancedSearchFields\getFields(), ilMainMenuSearchGUI\getHTML(), ilSearchController\getLastClass(), ilSearchAutoComplete\getList(), ilSearchAutoComplete\getLuceneList(), ilSearchBaseGUI\getSearchAreaForm(), ilUserAutoComplete\getSelectPart(), ilLuceneUserSearchGUI\getTabs(), ilLuceneAdvancedSearchGUI\getTabs(), ilLuceneSearchGUI\getTabs(), ilObjSearchSettingsGUI\initFormLuceneSettings(), ilSearchBaseGUI\initStandardSearchForm(), ilLuceneSearchGUI\initUserSearchCache(), ilMailFolderTableGUI\isLuceneSearchEnabled(), ilBlogPostingGUI\keywordAutocomplete(), ilSubItemListGUI\parseRelevance(), ilRepositoryUserResultTableGUI\parseUserIds(), ilAdvancedSearchGUI\performSearch(), ilLuceneSearchGUI\performSearch(), ilObjSearchSettingsGUI\refreshLuceneSettings(), ilObjSearchSettingsGUI\saveLuceneSettingsObject(), ilSoapObjectAdministration\searchObjects(), ilUserAutoComplete\setResultField(), ilSearchGUI\showSearch(), ilLuceneSearchGUI\showSearchForm(), ilLuceneIndexer\updateLuceneIndex(), and ilObjSearchSettingsGUI\updateSettingsObject().
ilSearchSettings::getLastIndexTime | ( | ) |
Definition at line 280 of file class.ilSearchSettings.php.
References IL_CAL_DATETIME.
Referenced by update().
ilSearchSettings::getLuceneItemFilter | ( | ) |
Definition at line 297 of file class.ilSearchSettings.php.
References $lucene_item_filter.
Referenced by __read(), getEnabledLuceneItemFilterDefinitions(), and update().
|
static |
Get lucene item filter definitions.
Definition at line 78 of file class.ilSearchSettings.php.
References array.
Referenced by ilObjSearchSettingsGUI\initFormSettings().
ilSearchSettings::getLuceneMimeFilter | ( | ) |
Definition at line 334 of file class.ilSearchSettings.php.
References $lucene_mime_filter.
Referenced by __read(), getEnabledLuceneMimeFilterDefinitions(), and update().
|
static |
Definition at line 95 of file class.ilSearchSettings.php.
References array.
Referenced by ilObjSearchSettingsGUI\initFormLuceneSettings().
ilSearchSettings::getMaxHits | ( | ) |
Definition at line 204 of file class.ilSearchSettings.php.
References $max_hits.
Referenced by update().
ilSearchSettings::getMaxSubitems | ( | ) |
Definition at line 265 of file class.ilSearchSettings.php.
References $numSubitems.
Referenced by update().
ilSearchSettings::isDateFilterEnabled | ( | ) |
Definition at line 423 of file class.ilSearchSettings.php.
References $date_filter.
Referenced by update().
ilSearchSettings::isInactiveUserVisible | ( | ) |
are inactive user visible in user search
Definition at line 398 of file class.ilSearchSettings.php.
References $show_inactiv_user.
Referenced by update().
ilSearchSettings::isLimitedUserVisible | ( | ) |
are user with limited access visible in user search
Definition at line 418 of file class.ilSearchSettings.php.
References $show_limited_user.
Referenced by update().
ilSearchSettings::isLuceneItemFilterEnabled | ( | ) |
Definition at line 292 of file class.ilSearchSettings.php.
References $lucene_item_filter_enabled.
Referenced by getEnabledLuceneItemFilterDefinitions(), getEnabledLuceneMimeFilterDefinitions(), and update().
ilSearchSettings::isLuceneMimeFilterEnabled | ( | ) |
Check if lucene mime filter is enabled.
Definition at line 342 of file class.ilSearchSettings.php.
References $lucene_mime_filter_enabled.
Referenced by update().
ilSearchSettings::isLuceneOfflineFilterEnabled | ( | ) |
Definition at line 313 of file class.ilSearchSettings.php.
References $lucene_offline_filter.
Referenced by __read(), and update().
ilSearchSettings::isLuceneUserSearchEnabled | ( | ) |
Check if user search is enabled.
Definition at line 369 of file class.ilSearchSettings.php.
References $user_search.
Referenced by update().
ilSearchSettings::isPrefixWildcardQueryEnabled | ( | ) |
Definition at line 149 of file class.ilSearchSettings.php.
References $prefix_wildcard.
Referenced by update().
ilSearchSettings::isRelevanceVisible | ( | ) |
Definition at line 270 of file class.ilSearchSettings.php.
References $showRelevance.
Referenced by update().
ilSearchSettings::isSubRelevanceVisible | ( | ) |
Definition at line 323 of file class.ilSearchSettings.php.
References $showSubRelevance.
Referenced by update().
ilSearchSettings::setAutoCompleteLength | ( | $auto_complete_length | ) |
Definition at line 250 of file class.ilSearchSettings.php.
References $auto_complete_length.
Referenced by __read().
ilSearchSettings::setDefaultOperator | ( | $a_op | ) |
Definition at line 218 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setFragmentCount | ( | $a_count | ) |
Definition at line 233 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setFragmentSize | ( | $a_size | ) |
Definition at line 223 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setHideAdvancedSearch | ( | $a_status | ) |
Definition at line 242 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setLastIndexTime | ( | $time | ) |
object | instance of ilDateTime |
Definition at line 360 of file class.ilSearchSettings.php.
References $time.
Referenced by __read().
ilSearchSettings::setLuceneItemFilter | ( | $a_filter | ) |
Definition at line 303 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setLuceneMimeFilter | ( | $a_filter | ) |
Definition at line 329 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setMaxHits | ( | $a_max_hits | ) |
Definition at line 208 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setMaxSubitems | ( | $a_max | ) |
Definition at line 260 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::showInactiveUser | ( | $a_visible | ) |
show inactive user in user search
bool | $a_visible |
Definition at line 388 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::showLimitedUser | ( | $a_visible | ) |
show user with limited access in user search
bool | $a_visible |
Definition at line 408 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::showRelevance | ( | $a_status | ) |
Definition at line 275 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::showSubRelevance | ( | $a_stat | ) |
Definition at line 318 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::update | ( | ) |
Definition at line 433 of file class.ilSearchSettings.php.
References $ilSetting, enabledIndex(), enabledLucene(), getAutoCompleteLength(), getDefaultOperator(), getFragmentCount(), getFragmentSize(), getHideAdvancedSearch(), getLastIndexTime(), getLuceneItemFilter(), getLuceneMimeFilter(), getMaxHits(), getMaxSubitems(), IL_CAL_UNIX, isDateFilterEnabled(), isInactiveUserVisible(), isLimitedUserVisible(), isLuceneItemFilterEnabled(), isLuceneMimeFilterEnabled(), isLuceneOfflineFilterEnabled(), isLuceneUserSearchEnabled(), isPrefixWildcardQueryEnabled(), isRelevanceVisible(), and isSubRelevanceVisible().
|
protected |
Definition at line 34 of file class.ilSearchSettings.php.
Referenced by getAutoCompleteLength(), and setAutoCompleteLength().
|
protected |
Definition at line 45 of file class.ilSearchSettings.php.
Referenced by isDateFilterEnabled().
|
protected |
Definition at line 25 of file class.ilSearchSettings.php.
Referenced by getDefaultOperator().
|
protected |
Definition at line 27 of file class.ilSearchSettings.php.
Referenced by getFragmentCount().
|
protected |
Definition at line 26 of file class.ilSearchSettings.php.
Referenced by getFragmentSize().
ilSearchSettings::$ilias = null |
Definition at line 47 of file class.ilSearchSettings.php.
Referenced by __construct().
ilSearchSettings::$index = null |
Definition at line 49 of file class.ilSearchSettings.php.
|
staticprotected |
Definition at line 23 of file class.ilSearchSettings.php.
|
protected |
Definition at line 30 of file class.ilSearchSettings.php.
|
protected |
Definition at line 32 of file class.ilSearchSettings.php.
Referenced by getLuceneItemFilter().
|
protected |
Definition at line 31 of file class.ilSearchSettings.php.
Referenced by isLuceneItemFilterEnabled().
|
protected |
Definition at line 39 of file class.ilSearchSettings.php.
Referenced by getLuceneMimeFilter().
|
protected |
Definition at line 38 of file class.ilSearchSettings.php.
Referenced by isLuceneMimeFilterEnabled().
|
protected |
Definition at line 33 of file class.ilSearchSettings.php.
Referenced by isLuceneOfflineFilterEnabled().
ilSearchSettings::$max_hits = null |
Definition at line 48 of file class.ilSearchSettings.php.
Referenced by getMaxHits().
|
protected |
Definition at line 28 of file class.ilSearchSettings.php.
Referenced by getMaxSubitems().
|
protected |
Definition at line 41 of file class.ilSearchSettings.php.
Referenced by isPrefixWildcardQueryEnabled().
|
protected |
Definition at line 35 of file class.ilSearchSettings.php.
Referenced by isInactiveUserVisible().
|
protected |
Definition at line 36 of file class.ilSearchSettings.php.
Referenced by isLimitedUserVisible().
|
protected |
Definition at line 29 of file class.ilSearchSettings.php.
Referenced by isRelevanceVisible().
|
protected |
Definition at line 40 of file class.ilSearchSettings.php.
Referenced by isSubRelevanceVisible().
|
protected |
Definition at line 43 of file class.ilSearchSettings.php.
Referenced by isLuceneUserSearchEnabled().
const ilSearchSettings::INDEX_SEARCH = 1 |
Definition at line 17 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsGUI\initFormSettings(), and ilObjSearchSettingsGUI\updateSettingsObject().
const ilSearchSettings::LIKE_SEARCH = 0 |
Definition at line 16 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsGUI\initFormSettings(), and ilObjSearchSettingsGUI\updateSettingsObject().
const ilSearchSettings::LUCENE_SEARCH = 2 |
Definition at line 18 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsGUI\initFormSettings(), and ilObjSearchSettingsGUI\updateSettingsObject().
const ilSearchSettings::OPERATOR_AND = 1 |
Definition at line 20 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsGUI\initFormSettings(), ilRepositoryObjectDetailSearch\performDBSearch(), ilAdvancedSearchGUI\performSearch(), ilSearchGUI\showSearch(), and ilLuceneSearchGUI\showSearchForm().
const ilSearchSettings::OPERATOR_OR = 2 |
Definition at line 21 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsGUI\initFormSettings().