32                $this->formaction = $a_formaction;
 
   52                $this->target = $a_target;
 
   72                $this->multipart = $a_multipart;
 
  112                $this->name = $a_name;
 
  132                $this->keepopen = $a_keepopen;
 
  152                $this->opentag = $a_open;
 
  192                $this->prevent_double_submission = $a_val;
 
  210                $tpl = 
new ilTemplate(
"tpl.form.html", 
true, 
true, 
"Services/Form");
 
  216                        $opentpl = 
new ilTemplate(
'tpl.form_open.html', 
true, 
true, 
"Services/Form");
 
  219                                $opentpl->setCurrentBlock(
"form_target");
 
  220                                $opentpl->setVariable(
"FORM_TARGET", $this->
getTarget());
 
  221                                $opentpl->parseCurrentBlock();
 
  225                                $opentpl->setCurrentBlock(
"form_name");
 
  226                                $opentpl->setVariable(
"FORM_NAME", $this->
getName());
 
  227                                $opentpl->parseCurrentBlock();
 
  231                                $opentpl->setVariable(
"FORM_CLASS", 
"preventDoubleSubmission");
 
  236                                $opentpl->touchBlock(
"multipart");
 
  259                        $opentpl->setVariable(
"FORM_ACTION", $this->
getFormAction());
 
  260                        if ($this->
getId() != 
"")
 
  262                                $opentpl->setVariable(
"FORM_ID", $this->
getId());
 
  264                        $opentpl->parseCurrentBlock();
 
  265                        $tpl->setVariable(
'FORM_OPEN_TAG', $opentpl->get());
 
  267                $tpl->setVariable(
"FORM_CONTENT", $content);
 
  270                        $tpl->setVariable(
"FORM_CLOSE_TAG", 
"</form>");
 
An exception for terminatinating execution or to throw for unit testing.
special template class to simplify handling of ITX/PEAR