24 include_once
'./Services/Search/classes/Lucene/class.ilLuceneAdvancedSearchFields.php';
25 include_once
'./Services/Administration/classes/class.ilSetting.php';
52 $this->storage =
new ilSetting(
'lucene_adv_search');
58 if (isset(self::$instance)
and self::$instance != null) {
59 return self::$instance;
69 return $this->
fields[$a_field] ? $this->
fields[$a_field] :
false;
78 $this->
fields[$a_field] = (bool) $a_status;
84 $this->storage->set(
$name, $status ?
"1" :
"0");
setActive($a_field, $a_status)
set field active status
isActive($a_field)
check if field is active
En/disable single lom/advanced meta data fields.
__construct()
Constructor.
static getFields()
Return an array of all meta data fields.