24include_once 
'./Services/Table/classes/class.ilTable2GUI.php';
 
   25include_once 
'./Services/Search/classes/Lucene/class.ilLuceneAdvancedSearchFields.php';
 
   52                parent::__construct($a_parent_obj,$a_parent_cmd);
 
   54                $this->
addColumn($this->lng->txt(
'title'),
'title',
'60%');
 
   55                $this->
addColumn($this->lng->txt(
'type'),
'type',
'40%');
 
   56                $this->
setRowTemplate(
'tpl.lucene_activation_row.html',
'Services/Search');
 
   60                $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
 
   61                $this->
addMultiCommand(
'saveAdvancedLuceneSettings',$this->lng->txt(
'lucene_activate_field'));
 
   69                $this->tpl->setVariable(
'VAL_ID',$a_set[
'id']);
 
   70                $this->tpl->setVariable(
'VAL_CHECKED',$a_set[
'active'] ? 
'checked="checked"' : 
'');
 
   71                $this->tpl->setVariable(
'VAL_TITLE',$a_set[
'title']);
 
   72                $this->tpl->setVariable(
'VAL_TYPE',$a_set[
'type']);
 
   80                        $tmp_arr[
'id'] = $field;
 
   81                        $tmp_arr[
'active'] = $settings->
isActive($field);
 
   82                        $tmp_arr[
'title'] = $translation;
 
   84                        $tmp_arr[
'type'] = (substr($field,0,3) == 
'lom') ?
 
   85                                $this->lng->txt(
'search_lom') :
 
   86                                $this->lng->txt(
'search_adv_md'); 
 
   88                        $content[] = $tmp_arr;
 
   90                $this->
setData($content ? $content : array());
 
Activation of meta data fields.
fillRow($a_set)
Fill template row.
parse(ilLuceneAdvancedSearchSettings $settings)
__construct($a_parent_obj, $a_parent_cmd='')
constructor
static getFields()
Return an array of all meta data fields.
En/disable single lom/advanced meta data fields.
isActive($a_field)
check if field is active
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setLimit($a_limit=0, $a_default_limit=0)
set max.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table