5 require_once(
"Services/Table/classes/class.ilTableGUI.php");
 
   32                 $this->form_action = $a_form_action;
 
   37                 return $this->form_action;
 
   47                 $this->headertext = $a_headertext;
 
   57                 return $this->headertext;
 
   68                 $this->buttons[] = array(
 
   69                         "txt" => $a_txt, 
"cmd" => $a_cmd);
 
   80                 $this->cancel_txt = $a_txt;
 
   81                 $this->cancel_cmd = $a_cmd;
 
   92                 $this->confirm_txt = $a_txt;
 
   93                 $this->confirm_cmd = $a_cmd;
 
  104         public function addItem($a_post_var, $a_id, $a_text, $a_img = 
"",
 
  107                 $this->item[] = array(
"var" => $a_post_var, 
"id" => $a_id,
 
  108                         "text" => $a_text, 
"img" => $a_img, 
"alt" => $a_alt);
 
  111                         $this->use_images = 
true;
 
  128                 $this->hidden_item[] = array(
"var" => $a_post_var, 
"value" => $a_value);
 
  142                 include_once(
"./Services/Utilities/classes/class.ilConfirmationTableGUI.php");
 
  144                 $ctab->setData($this->item);
 
  147                 foreach ($this->buttons as $b)
 
  149                         $ctab->addCommandButton($b[
"cmd"], $b[
"txt"]);
 
  151                 $ctab->addCommandButton($this->confirm_cmd, $this->confirm_txt);
 
  152                 $ctab->addCommandButton($this->cancel_cmd, $this->cancel_txt);
 
  156                         $ctab->addHiddenInput($hidden_item[
"var"], $hidden_item[
"value"]);
 
  159                 return $ctab->getHTML();