| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for ilSearchSettings: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 | LUCENE_SEARCH = 2 | 
| const | OPERATOR_AND = 1 | 
| const | OPERATOR_OR = 2 | 
Protected Member Functions | |
| __read () | |
Protected Attributes | |
| int | $default_operator = self::OPERATOR_AND | 
| int | $fragmentSize = 30 | 
| int | $fragmentCount = 3 | 
| int | $numSubitems = 5 | 
| bool | $showRelevance = true | 
| ilDateTime | $last_index_date = null | 
| bool | $lucene_item_filter_enabled = false | 
| array | $lucene_item_filter = array() | 
| bool | $lucene_offline_filter = true | 
| int | $auto_complete_length = 10 | 
| bool | $show_inactiv_user = true | 
| bool | $show_limited_user = true | 
| bool | $lucene = false | 
| bool | $hide_adv_search = false | 
| bool | $lucene_mime_filter_enabled = false | 
| array | $lucene_mime_filter = array() | 
| bool | $showSubRelevance = false | 
| bool | $prefix_wildcard = false | 
| bool | $user_search = false | 
| bool | $date_filter = false | 
| ILIAS | $ilias = null | 
| ilSetting | $setting | 
Static Protected Attributes | |
| static ilSearchSettings | $instance = null | 
Private Attributes | |
| int | $max_hits = 10 | 
Definition at line 15 of file class.ilSearchSettings.php.
| ilSearchSettings::__construct | ( | ) | 
Definition at line 51 of file class.ilSearchSettings.php.
References $DIC, and __read().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 422 of file class.ilSearchSettings.php.
References enableDateFilter(), enableLucene(), enableLuceneItemFilter(), enableLuceneMimeFilter(), enableLuceneOfflineFilter(), enableLuceneUserSearch(), enablePrefixWildcardQuery(), getLuceneItemFilter(), getLuceneMimeFilter(), IL_CAL_UNIX, setAutoCompleteLength(), setDefaultOperator(), setFragmentCount(), setFragmentSize(), setHideAdvancedSearch(), setLastIndexTime(), setLuceneItemFilter(), setLuceneMimeFilter(), setMaxHits(), setMaxSubitems(), showInactiveUser(), showLimitedUser(), showRelevance(), and showSubRelevance().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Read the ref_id of Search Settings object.
normally used for rbacsystem->checkAccess()
Definition at line 151 of file class.ilSearchSettings.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), and SYSTEM_FOLDER_ID.
Referenced by ilSearchControllerGUI\executeCommand(), and ILIAS\Search\Provider\SearchMetaBarProvider\getMetaBarItems().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSearchSettings::enableDateFilter | ( | bool | $a_filter | ) | 
Definition at line 390 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::enabledLucene | ( | ) | 
Definition at line 174 of file class.ilSearchSettings.php.
References $lucene.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::enableLucene | ( | bool | $a_status | ) | 
Definition at line 178 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::enableLuceneItemFilter | ( | bool | $a_status | ) | 
Definition at line 266 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::enableLuceneMimeFilter | ( | bool | $a_stat | ) | 
Definition at line 326 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::enableLuceneOfflineFilter | ( | bool | $a_stat | ) | 
Definition at line 287 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::enableLuceneUserSearch | ( | bool | $a_status | ) | 
Enable lucene user search.
| bool | $a_status | 
Definition at line 349 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::enablePrefixWildcardQuery | ( | bool | $a_stat | ) | 
Definition at line 138 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::getAutoCompleteLength | ( | ) | 
Definition at line 225 of file class.ilSearchSettings.php.
References $auto_complete_length.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::getDefaultOperator | ( | ) | 
Definition at line 192 of file class.ilSearchSettings.php.
References $default_operator.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::getEnabledLuceneItemFilterDefinitions | ( | ) | 
Get lucene item filter definitions.
Definition at line 105 of file class.ilSearchSettings.php.
References ILIAS\LTI\ToolProvider\$enabled, getLuceneItemFilter(), and isLuceneItemFilterEnabled().
 Here is the call graph for this function:| ilSearchSettings::getEnabledLuceneMimeFilterDefinitions | ( | ) | 
Definition at line 122 of file class.ilSearchSettings.php.
References ILIAS\LTI\ToolProvider\$enabled, getLuceneMimeFilter(), and isLuceneItemFilterEnabled().
 Here is the call graph for this function:| ilSearchSettings::getFragmentCount | ( | ) | 
Definition at line 234 of file class.ilSearchSettings.php.
References $fragmentCount.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::getFragmentSize | ( | ) | 
Definition at line 207 of file class.ilSearchSettings.php.
References $fragmentSize.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::getHideAdvancedSearch | ( | ) | 
Definition at line 217 of file class.ilSearchSettings.php.
References $hide_adv_search.
Referenced by update().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 60 of file class.ilSearchSettings.php.
Referenced by ilRepositoryObjectDetailSearch\__construct(), ilRepositoryObjectSearchResultTableGUI\__construct(), ilMailAutoCompleteRecipientResult\__construct(), ilSubItemListGUI\__construct(), ilSearchGUI\__construct(), ilLuceneSearchResultFilter\__construct(), ilQueryParser\__construct(), ilSearchResultTableGUI\enabledRelevance(), ilLuceneAdvancedSearchFields\getFields(), ilMainMenuSearchGUI\getHTML(), ilSearchControllerGUI\getLastClass(), ilSearchAutoComplete\getList(), ilUserAutoComplete\getList(), ilSearchAutoComplete\getLuceneList(), ilMailForm\getRecipientAsync(), ilSearchBaseGUI\getSearchAreaForm(), ilObjSearchLuceneSettingsFormGUI\getSettings(), ilObjSearchSettingsFormGUI\getSettings(), ilLuceneUserSearchGUI\getTabs(), ilLuceneAdvancedSearchGUI\getTabs(), ilLuceneSearchGUI\getTabs(), ilUserAutoComplete\getWherePart(), ilSearchBaseGUI\initStandardSearchForm(), ilLuceneSearchGUI\initUserSearchCache(), ilMailFolderTableGUI\isLuceneEnabled(), ilMailLuceneQueryParser\parse(), ilSubItemListGUI\parseRelevance(), ilRepositoryUserResultTableGUI\parseUserIds(), ilAdvancedSearchGUI\performSearch(), ilLuceneSearchGUI\performSearch(), ilSearchGUI\performSearch(), ilSoapObjectAdministration\searchObjects(), ilSearchGUI\showSearch(), ilLuceneSearchGUI\showSearchForm(), and ilLuceneIndexer\updateLuceneIndex().
 Here is the caller graph for this function:| ilSearchSettings::getLastIndexTime | ( | ) | 
Definition at line 259 of file class.ilSearchSettings.php.
References IL_CAL_DATETIME.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::getLuceneItemFilter | ( | ) | 
Definition at line 276 of file class.ilSearchSettings.php.
References $lucene_item_filter.
Referenced by __read(), getEnabledLuceneItemFilterDefinitions(), and update().
 Here is the caller graph for this function:
      
  | 
  static | 
Get lucene item filter definitions.
Definition at line 72 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsFormGUI\initForm().
 Here is the caller graph for this function:| ilSearchSettings::getLuceneMimeFilter | ( | ) | 
Definition at line 313 of file class.ilSearchSettings.php.
References $lucene_mime_filter.
Referenced by __read(), getEnabledLuceneMimeFilterDefinitions(), and update().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 90 of file class.ilSearchSettings.php.
Referenced by ilObjSearchLuceneSettingsFormGUI\initForm().
 Here is the caller graph for this function:| ilSearchSettings::getMaxHits | ( | ) | 
Definition at line 183 of file class.ilSearchSettings.php.
References $max_hits.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::getMaxSubitems | ( | ) | 
Definition at line 244 of file class.ilSearchSettings.php.
References $numSubitems.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isDateFilterEnabled | ( | ) | 
Definition at line 385 of file class.ilSearchSettings.php.
References $date_filter.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isInactiveUserVisible | ( | ) | 
are inactive user visible in user search
Definition at line 366 of file class.ilSearchSettings.php.
References $show_inactiv_user.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isLimitedUserVisible | ( | ) | 
Definition at line 380 of file class.ilSearchSettings.php.
References $show_limited_user.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isLuceneItemFilterEnabled | ( | ) | 
Definition at line 271 of file class.ilSearchSettings.php.
References $lucene_item_filter_enabled.
Referenced by getEnabledLuceneItemFilterDefinitions(), getEnabledLuceneMimeFilterDefinitions(), and update().
 Here is the caller graph for this function:| ilSearchSettings::isLuceneMimeFilterEnabled | ( | ) | 
Check if lucene mime filter is enabled.
Definition at line 321 of file class.ilSearchSettings.php.
References $lucene_mime_filter_enabled.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isLuceneOfflineFilterEnabled | ( | ) | 
Definition at line 292 of file class.ilSearchSettings.php.
References $lucene_offline_filter.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isLuceneUserSearchEnabled | ( | ) | 
Check if user search is enabled.
Definition at line 340 of file class.ilSearchSettings.php.
References $user_search.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isPrefixWildcardQueryEnabled | ( | ) | 
Definition at line 143 of file class.ilSearchSettings.php.
References $prefix_wildcard.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isRelevanceVisible | ( | ) | 
Definition at line 249 of file class.ilSearchSettings.php.
References $showRelevance.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::isSubRelevanceVisible | ( | ) | 
Definition at line 302 of file class.ilSearchSettings.php.
References $showSubRelevance.
Referenced by update().
 Here is the caller graph for this function:| ilSearchSettings::setAutoCompleteLength | ( | int | $auto_complete_length | ) | 
Definition at line 229 of file class.ilSearchSettings.php.
References $auto_complete_length.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setDefaultOperator | ( | int | $a_op | ) | 
Definition at line 197 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setFragmentCount | ( | int | $a_count | ) | 
Definition at line 212 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setFragmentSize | ( | int | $a_size | ) | 
Definition at line 202 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setHideAdvancedSearch | ( | bool | $a_status | ) | 
Definition at line 221 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setLastIndexTime | ( | ?ilDateTime | $time | ) | 
Definition at line 332 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setLuceneItemFilter | ( | array | $a_filter | ) | 
Definition at line 282 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setLuceneMimeFilter | ( | array | $a_filter | ) | 
Definition at line 308 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setMaxHits | ( | int | $a_max_hits | ) | 
Definition at line 187 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::setMaxSubitems | ( | int | $a_max | ) | 
Definition at line 239 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::showInactiveUser | ( | bool | $a_visible | ) | 
show inactive user in user search
Definition at line 357 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::showLimitedUser | ( | bool | $a_visible | ) | 
show user with limited access in user search
Definition at line 374 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::showRelevance | ( | bool | $a_status | ) | 
Definition at line 254 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::showSubRelevance | ( | bool | $a_stat | ) | 
Definition at line 297 of file class.ilSearchSettings.php.
Referenced by __read().
 Here is the caller graph for this function:| ilSearchSettings::update | ( | ) | 
Definition at line 395 of file class.ilSearchSettings.php.
References 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().
 Here is the call graph for this function:
      
  | 
  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().
      
  | 
  protected | 
Definition at line 39 of file class.ilSearchSettings.php.
Referenced by getHideAdvancedSearch().
      
  | 
  protected | 
Definition at line 47 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 38 of file class.ilSearchSettings.php.
Referenced by enabledLucene().
      
  | 
  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 41 of file class.ilSearchSettings.php.
Referenced by getLuceneMimeFilter().
      
  | 
  protected | 
Definition at line 40 of file class.ilSearchSettings.php.
Referenced by isLuceneMimeFilterEnabled().
      
  | 
  protected | 
Definition at line 33 of file class.ilSearchSettings.php.
Referenced by isLuceneOfflineFilterEnabled().
      
  | 
  private | 
Definition at line 49 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 43 of file class.ilSearchSettings.php.
Referenced by isPrefixWildcardQueryEnabled().
      
  | 
  protected | 
Definition at line 48 of file class.ilSearchSettings.php.
      
  | 
  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 42 of file class.ilSearchSettings.php.
Referenced by isSubRelevanceVisible().
      
  | 
  protected | 
Definition at line 44 of file class.ilSearchSettings.php.
Referenced by isLuceneUserSearchEnabled().
| const ilSearchSettings::LIKE_SEARCH = 0 | 
Definition at line 17 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsFormGUI\initForm(), and ilObjSearchSettingsFormGUI\update().
| const ilSearchSettings::LUCENE_SEARCH = 2 | 
Definition at line 18 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsFormGUI\initForm(), and ilObjSearchSettingsFormGUI\update().
| const ilSearchSettings::OPERATOR_AND = 1 | 
Definition at line 20 of file class.ilSearchSettings.php.
Referenced by ilSearchGUI\__construct(), ilObjSearchSettingsFormGUI\initForm(), ilMailLuceneQueryParser\parse(), ilRepositoryObjectDetailSearch\performDBSearch(), ilAdvancedSearchGUI\performSearch(), ilSearchGUI\performSearch(), ilSearchGUI\showSearch(), and ilLuceneSearchGUI\showSearchForm().
| const ilSearchSettings::OPERATOR_OR = 2 | 
Definition at line 21 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsFormGUI\initForm().