24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
 
   52                 $this->
addColumn($this->lng->txt(
"survey_code"),
'code', 
'');
 
   53                 $this->
addColumn($this->lng->txt(
"email"),
'email', 
'');
 
   54                 $this->
addColumn($this->lng->txt(
"lastname"),
'last_name', 
'');
 
   55                 $this->
addColumn($this->lng->txt(
"firstname"),
'first_name', 
'');
 
   56                 $this->
addColumn($this->lng->txt(
"mail_sent_short"),
'sent', 
'');
 
   58                 $this->
setRowTemplate(
"tpl.il_svy_svy_codes_edit_row.html", 
"Modules/Survey");
 
   63                 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
 
   71                 $this->tpl->setVariable(
'ID', 
$data[
"id"]);                     
 
   72                 $this->tpl->setVariable(
"SENT", (
$data[
'sent']) ?  
' checked="checked"' : 
'');          
 
   73                 $this->tpl->setVariable(
"CODE", 
$data[
'code']);
 
   74                 $this->tpl->setVariable(
"EMAIL", 
$data[
'email']);
 
   75                 $this->tpl->setVariable(
"LAST_NAME", 
$data[
'last_name']);
 
   76                 $this->tpl->setVariable(
"FIRST_NAME", 
$data[
'first_name']);