3 declare(strict_types=1);
    31     protected string $id = 
'';
    38         $this->formaction = $a_formaction;
    48         $this->target = $a_target;
    58         $this->multipart = $a_multipart;
    66     public function setId(
string $a_id): void
    76     public function setName(
string $a_name): void
    78         $this->name = $a_name;
    88         $this->keepopen = $a_keepopen;
    98         $this->opentag = $a_open;
   118         $this->prevent_double_submission = $a_val;
   128         $tpl = 
new ilTemplate(
"tpl.form.html", 
true, 
true, 
"components/ILIAS/Form");
   133             $opentpl = 
new ilTemplate(
'tpl.form_open.html', 
true, 
true, 
"components/ILIAS/Form");
   135                 $opentpl->setCurrentBlock(
"form_target");
   136                 $opentpl->setVariable(
"FORM_TARGET", $this->
getTarget());
   137                 $opentpl->parseCurrentBlock();
   140                 $opentpl->setCurrentBlock(
"form_name");
   141                 $opentpl->setVariable(
"FORM_NAME", $this->
getName());
   142                 $opentpl->parseCurrentBlock();
   145                 $opentpl->setVariable(
"FORM_CLASS", 
"preventDoubleSubmission");
   149                 $opentpl->touchBlock(
"multipart");
   172             $opentpl->setVariable(
"FORM_ACTION", $this->
getFormAction());
   173             if ($this->
getId() != 
"") {
   174                 $opentpl->setVariable(
"FORM_ID", $this->
getId());
   176             $opentpl->parseCurrentBlock();
   177             $tpl->setVariable(
'FORM_OPEN_TAG', $opentpl->get());
   179         $tpl->setVariable(
"FORM_CONTENT", $content);
   181             $tpl->setVariable(
"FORM_CLOSE_TAG", 
"</form>");