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)
58 return self::$instance;
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);
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.
Create styles array
The data for the language used.
__construct()
Constructor.
static getFields()
Return an array of all meta data fields.