28        $this->lng = 
$DIC->language();
 
   29        $this->tpl = 
$DIC[
"tpl"];
 
   30        parent::__construct($a_title, $a_postvar);
 
   47        $this->open_answer_indexes = $a_indexes;
 
   55        $this->open_answer_indexes[] = $a_idx;
 
   65        return in_array($a_idx, (array) $this->open_answer_indexes);
 
   82        if (is_array($foundvalues)) {
 
   83            foreach ($foundvalues as $idx => 
$value) {
 
  101        foreach ((array) 
$_POST[$this->
getPostVar() . 
'_open'] as $oindex => $ovalue) {
 
  111        parent::setValueByArray($a_values);
 
  113        foreach ((array) 
$_POST[$this->
getPostVar() . 
'_open'] as $oindex => $ovalue) {
 
  127        $tpl = 
new ilTemplate(
"tpl.prop_selectbuilder.html", 
true, 
true, 
"Services/Form");
 
  129        foreach ($this->values as 
$value) {
 
  134            if (strlen((
string) 
$value)) {
 
  135                $tpl->setCurrentBlock(
"prop_text_propval");
 
  137                $tpl->parseCurrentBlock();
 
  140                $tpl->setCurrentBlock(
"move");
 
  141                $tpl->setVariable(
"CMD_UP", 
"cmd[up" . $this->
getFieldId() . 
"][$i]");
 
  142                $tpl->setVariable(
"CMD_DOWN", 
"cmd[down" . $this->
getFieldId() . 
"][$i]");
 
  144                include_once(
"./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
 
  148                $tpl->parseCurrentBlock();
 
  150            $tpl->setCurrentBlock(
"row");
 
  152            #$tpl->setVariable('POST_VAR_OPEN',$this->getPostVar().'[open]'.'['.$i.']'); 
  153            $tpl->setVariable(
'POST_VAR_OPEN', $this->
getPostVar() . 
'_open' . 
'[' . 
$i . 
']');
 
  154            $tpl->setVariable(
'POST_VAR_OPEN_ID', $this->
getPostVar() . 
'_open[' . 
$i . 
']');
 
  155            $tpl->setVariable(
'TXT_OPEN', 
$lng->txt(
"form_open_answer"));
 
  158                $tpl->setVariable(
'PROP_OPEN_CHECKED', 
'checked="checked"');
 
  161                $tpl->setVariable(
'PROP_OPEN_DISABLED', 
'disabled="disabled"');
 
  165            $tpl->setVariable(
"CMD_ADD", 
"cmd[add" . $this->
getFieldId() . 
"][$i]");
 
  166            $tpl->setVariable(
"CMD_REMOVE", 
"cmd[remove" . $this->
getFieldId() . 
"][$i]");
 
  172                    " disabled=\"disabled\"" 
  175            include_once(
"./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
 
  178            $tpl->parseCurrentBlock();
 
  183        $a_tpl->setCurrentBlock(
"prop_generic");
 
  184        $a_tpl->setVariable(
"PROP_GENERIC", 
$tpl->get());
 
  185        $a_tpl->parseCurrentBlock();
 
  188        $tpl->addJavascript(
"./Services/Form/js/ServiceFormWizardInput.js");
 
  189        $tpl->addJavascript(
"./Services/Form/templates/default/textwizard.js");
 
An exception for terminatinating execution or to throw for unit testing.
static get($a_glyph, $a_text="")
Get glyph html.
special template class to simplify handling of ITX/PEAR
getMaxLength()
Get Max Length.
getValidationRegexp()
Get validation regexp.
This class represents a text wizard property in a property form.
getAllowMove()
Get allow move.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public