ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
ilSearchSettings () | |
getEnabledLuceneItemFilterDefinitions () | |
Get lucene item filter definitions. | |
_getSearchSettingRefId () | |
Read the ref_id of Search Settings object. | |
enabledIndex () | |
enableIndex ($a_status) | |
enabledLucene () | |
enableLucene ($a_status) | |
getMaxHits () | |
setMaxHits ($a_max_hits) | |
getDefaultOperator () | |
setDefaultOperator ($a_op) | |
setFragmentSize ($a_size) | |
getFragmentSize () | |
setFragmentCount ($a_count) | |
getHideAdvancedSearch () | |
setHideAdvancedSearch ($a_status) | |
getAutoCompleteLength () | |
setAutoCompleteLength ($auto_complete_length) | |
getFragmentCount () | |
setMaxSubitems ($a_max) | |
getMaxSubitems () | |
isRelevanceVisible () | |
showRelevance ($a_status) | |
getLastIndexTime () | |
enableLuceneItemFilter ($a_status) | |
isLuceneItemFilterEnabled () | |
getLuceneItemFilter () | |
setLuceneItemFilter ($a_filter) | |
setLastIndexTime ($time) | |
update () | |
__read () |
Static Public Member Functions | |
static | getInstance () |
static | getLuceneItemFilterDefinitions () |
Get lucene item filter definitions. |
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() |
Static Protected Attributes | |
static | $instance = null |
Definition at line 14 of file class.ilSearchSettings.php.
ilSearchSettings::__read | ( | ) |
Definition at line 294 of file class.ilSearchSettings.php.
References enableIndex(), enableLucene(), enableLuceneItemFilter(), getLuceneItemFilter(), IL_CAL_UNIX, setAutoCompleteLength(), setDefaultOperator(), setFragmentCount(), setFragmentSize(), setHideAdvancedSearch(), setLastIndexTime(), setLuceneItemFilter(), setMaxHits(), setMaxSubitems(), and showRelevance().
Referenced by ilSearchSettings().
ilSearchSettings::_getSearchSettingRefId | ( | ) |
Read the ref_id of Search Settings object.
normally used for rbacsystem->checkAccess()
Definition at line 114 of file class.ilSearchSettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilSearchController\executeCommand(), ilMainMenuGUI\renderMainMenuListEntries(), and ilMainMenuGUI\setTemplateVars().
ilSearchSettings::enabledIndex | ( | ) |
Definition at line 136 of file class.ilSearchSettings.php.
References $ilDB.
Referenced by update().
ilSearchSettings::enabledLucene | ( | ) |
Definition at line 150 of file class.ilSearchSettings.php.
Referenced by update().
ilSearchSettings::enableIndex | ( | $a_status | ) |
Definition at line 146 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enableLucene | ( | $a_status | ) |
Definition at line 154 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::enableLuceneItemFilter | ( | $a_status | ) |
Definition at line 243 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::getAutoCompleteLength | ( | ) |
Definition at line 202 of file class.ilSearchSettings.php.
Referenced by update().
ilSearchSettings::getDefaultOperator | ( | ) |
Definition at line 169 of file class.ilSearchSettings.php.
References $default_operator.
Referenced by update().
ilSearchSettings::getEnabledLuceneItemFilterDefinitions | ( | ) |
Get lucene item filter definitions.
Definition at line 90 of file class.ilSearchSettings.php.
References getLuceneItemFilter(), and isLuceneItemFilterEnabled().
ilSearchSettings::getFragmentCount | ( | ) |
Definition at line 211 of file class.ilSearchSettings.php.
References $fragmentCount.
Referenced by update().
ilSearchSettings::getFragmentSize | ( | ) |
Definition at line 184 of file class.ilSearchSettings.php.
References $fragmentSize.
Referenced by update().
ilSearchSettings::getHideAdvancedSearch | ( | ) |
Definition at line 194 of file class.ilSearchSettings.php.
Referenced by update().
|
static |
Definition at line 54 of file class.ilSearchSettings.php.
References $instance, and ilSearchSettings().
Referenced by ilLPObjectsTableGUI\__construct(), ilLPProgressTableGUI\__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(), ilSearchController\getLastClass(), ilLuceneAdvancedSearchGUI\getTabs(), ilLuceneSearchGUI\getTabs(), ilQueryParser\ilQueryParser(), ilObjSearchSettingsGUI\initFormLuceneSettings(), ilLuceneSearchGUI\initFormSearch(), ilLuceneSearchGUI\performSearch(), and ilObjSearchSettingsGUI\saveLuceneSettingsObject().
ilSearchSettings::getLastIndexTime | ( | ) |
Definition at line 236 of file class.ilSearchSettings.php.
References IL_CAL_DATETIME.
Referenced by update().
ilSearchSettings::getLuceneItemFilter | ( | ) |
Definition at line 253 of file class.ilSearchSettings.php.
References $lucene_item_filter.
Referenced by __read(), getEnabledLuceneItemFilterDefinitions(), and update().
|
static |
Get lucene item filter definitions.
Definition at line 68 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsGUI\initFormLuceneSettings().
ilSearchSettings::getMaxHits | ( | ) |
Definition at line 159 of file class.ilSearchSettings.php.
References $max_hits.
Referenced by update().
ilSearchSettings::getMaxSubitems | ( | ) |
Definition at line 221 of file class.ilSearchSettings.php.
References $numSubitems.
Referenced by update().
ilSearchSettings::ilSearchSettings | ( | ) |
Definition at line 40 of file class.ilSearchSettings.php.
References $ilias, and __read().
Referenced by getInstance().
ilSearchSettings::isLuceneItemFilterEnabled | ( | ) |
Definition at line 248 of file class.ilSearchSettings.php.
References $lucene_item_filter_enabled.
Referenced by getEnabledLuceneItemFilterDefinitions(), and update().
ilSearchSettings::isRelevanceVisible | ( | ) |
Definition at line 226 of file class.ilSearchSettings.php.
References $showRelevance.
Referenced by update().
ilSearchSettings::setAutoCompleteLength | ( | $auto_complete_length | ) |
Definition at line 206 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setDefaultOperator | ( | $a_op | ) |
Definition at line 174 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setFragmentCount | ( | $a_count | ) |
Definition at line 189 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setFragmentSize | ( | $a_size | ) |
Definition at line 179 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setHideAdvancedSearch | ( | $a_status | ) |
Definition at line 198 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setLastIndexTime | ( | $time | ) |
object | instance of ilDateTime |
Definition at line 266 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setLuceneItemFilter | ( | $a_filter | ) |
Definition at line 258 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setMaxHits | ( | $a_max_hits | ) |
Definition at line 163 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::setMaxSubitems | ( | $a_max | ) |
Definition at line 216 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::showRelevance | ( | $a_status | ) |
Definition at line 231 of file class.ilSearchSettings.php.
Referenced by __read().
ilSearchSettings::update | ( | ) |
Definition at line 272 of file class.ilSearchSettings.php.
References enabledIndex(), enabledLucene(), getAutoCompleteLength(), getDefaultOperator(), getFragmentCount(), getFragmentSize(), getHideAdvancedSearch(), getLastIndexTime(), getLuceneItemFilter(), getMaxHits(), getMaxSubitems(), IL_CAL_UNIX, isLuceneItemFilterEnabled(), and isRelevanceVisible().
|
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 36 of file class.ilSearchSettings.php.
Referenced by ilSearchSettings().
ilSearchSettings::$index = null |
Definition at line 38 of file class.ilSearchSettings.php.
|
staticprotected |
Definition at line 23 of file class.ilSearchSettings.php.
Referenced by getInstance().
|
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().
ilSearchSettings::$max_hits = null |
Definition at line 37 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 29 of file class.ilSearchSettings.php.
Referenced by isRelevanceVisible().
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\initFormLuceneSettings().
const ilSearchSettings::OPERATOR_OR = 2 |
Definition at line 21 of file class.ilSearchSettings.php.
Referenced by ilObjSearchSettingsGUI\initFormLuceneSettings().