5 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
 
    6 include_once(
"./Services/Form/classes/class.ilSubEnabledFormPropertyGUI.php");
 
    7 include_once 
'Services/UIComponent/Toolbar/interfaces/interface.ilToolbarItem.php';
 
   41                 $this->options = $a_options;
 
   51                 return $this->options ? $this->options : array();
 
   61                 $this->value = $a_value;
 
   97                         $this->
setAlert($lng->txt(
"msg_input_is_required"));
 
  106                 $this->cust_attr[] = $a_attr;
 
  119                 $tpl = 
new ilTemplate(
"tpl.prop_select.html", 
true, 
true, 
"Services/Form");
 
  123                         $tpl->setCurrentBlock(
'cust_attr');
 
  124                         $tpl->setVariable(
'CUSTOM_ATTR',$attr);
 
  125                         $tpl->parseCurrentBlock();
 
  131                 foreach($this->
getOptions() as $option_value => $option_text)
 
  135                                 $sel_value = $option_value;
 
  138                         if ((
string) $option_value == (
string) $this->
getValue())
 
  140                                 $sel_value = $option_value;
 
  143                 foreach($this->
getOptions() as $option_value => $option_text)
 
  145                         $tpl->setCurrentBlock(
"prop_select_option");
 
  146                         $tpl->setVariable(
"VAL_SELECT_OPTION", $option_value);
 
  147                         if((
string) $sel_value == (
string) $option_value)
 
  149                                 $tpl->setVariable(
"CHK_SEL_OPTION",
 
  150                                         'selected="selected"');
 
  152                         $tpl->setVariable(
"TXT_SELECT_OPTION", $option_text);
 
  153                         $tpl->parseCurrentBlock();
 
  158                         $tpl->setVariable(
"DISABLED",
 
  159                                 " disabled=\"disabled\"");
 
  163                         $tpl->setVariable(
"DISABLED",
 
  164                                 " disabled=\"disabled\"");
 
  165                         $tpl->setVariable(
"HIDDEN_INPUT",
 
  183                 $a_tpl->setCurrentBlock(
"prop_generic");
 
  184                 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
 
  185                 $a_tpl->parseCurrentBlock();
 
  202                 $html = $this->
render(
"toolbar");