24 include_once
'./Services/Search/classes/Lucene/class.ilLuceneAdvancedSearchFields.php';
25 include_once
'./Services/Administration/classes/class.ilSetting.php';
50 $this->storage =
new ilSetting(
'lucene_adv_search');
56 if(isset(self::$instance) and self::$instance != null)
68 return $this->fields[$a_field] ? $this->fields[$a_field] :
false;
77 $this->fields[$a_field] = (bool) $a_status;
82 foreach($this->fields as
$name => $status)
84 $this->storage->set(
$name,$status ?
"1" :
"0");
93 $this->fields[
$name] = (bool) $this->storage->get(
$name,
true);