5include_once(
"./Services/Form/classes/class.ilFormPropertyGUI.php");
 
    6include_once 
'Services/UIComponent/Toolbar/interfaces/interface.ilToolbarItem.php';
 
   31                parent::__construct($a_title, $a_postvar);
 
   41                $this->value = $a_value;
 
   72                $this->letters = $a_val;
 
   97                        $this->
setAlert($lng->txt(
"msg_input_is_required"));
 
  110                die(
"only implemented for toolbar usage");
 
  133                $this->parent_object = $a_obj;
 
  134                $this->parent_cmd = $a_cmd;
 
  145                $this->highlight = 
true;
 
  146                $this->highlight_letter = $a_high_letter;
 
  156                $lng->loadLanguageModule(
"form");
 
  158                $tpl = 
new ilTemplate(
"tpl.prop_alphabet.html", 
true, 
true, 
"Services/Form");
 
  161                        $tpl->setCurrentBlock(
"letter");
 
  162                        $tpl->setVariable(
"TXT_LET", $l);
 
  163                        $ilCtrl->setParameter($this->parent_object, 
"letter", rawurlencode($l));
 
  164                        $tpl->setVariable(
"TXT_LET", $l);
 
  165                        $tpl->setVariable(
"HREF_LET", 
$ilCtrl->getLinkTarget($this->parent_object, $this->parent_cmd));
 
  166                        if ($this->highlight && $this->highlight_letter !== 
null && $this->highlight_letter == $l)
 
  168                                $tpl->setVariable(
"CLASS", 
' class="ilHighlighted" ');
 
  170                        $tpl->parseCurrentBlock();
 
  172                $ilCtrl->setParameter($this->parent_object, 
"letter", 
"");
 
  173                $tpl->setVariable(
"TXT_ALL", 
$lng->txt(
"form_alphabet_all"));
 
  174                $tpl->setVariable(
"HREF_ALL", 
$ilCtrl->getLinkTarget($this->parent_object, $this->parent_cmd));
 
  175                if ($this->highlight && $this->highlight_letter === 
null)
 
  177                        $tpl->setVariable(
"CLASSA", 
' class="ilHighlighted" ');
 
special template class to simplify handling of ITX/PEAR
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled