function get_list_tag() { parent::get_list_tag(); $my_table = $this->tbl_list; foreach ($this->controls as $control_id => $control) { $id = '_' . $control_id; if (array_key_exists($id, $this->total_controls)) { $value = $this->total_controls[$id]->get_tag(); } else { $value = '<i>Total ' . $this->cross_tab->OP_[data_function]->get() . '</i>'; } $my_table->set_col($value, 'td_' . $control_id); } $my_table->set_row('tr_body_total'); return $my_table->get_tag(); }