32         $lng = $DIC->language();
    33         $ilCtrl = $DIC->ctrl();
    36         $this->
ctrl = $ilCtrl;
    41         $this->
addColumn($this->
lng->txt(
"survey_code"), 
'code', 
'');
    43         $this->
addColumn($this->
lng->txt(
"lastname"), 
'last_name', 
'');
    44         $this->
addColumn($this->
lng->txt(
"firstname"), 
'first_name', 
'');
    45         $this->
addColumn($this->
lng->txt(
"create_date"), 
'date', 
'');
    46         $this->
addColumn($this->
lng->txt(
"survey_code_used"), 
'used', 
'');
    47         $this->
addColumn($this->
lng->txt(
"mail_sent_short"), 
'sent', 
'');
    50         $this->
setRowTemplate(
"tpl.il_svy_svy_codes_row.html", 
"Modules/Survey");
    60             $this->
lng->txt(
"export_all_survey_codes")
    70     protected function fillRow(array $a_set): void
    74         $this->tpl->setVariable(
'CB_CODE', $a_set[
'id']);
    77         if (($a_set[
'href'] ?? 
'') !== 
'') {
    78             $this->tpl->setCurrentBlock(
'url');
    79             $this->tpl->setVariable(
"URL", 
$lng->
txt(
"survey_code_url_name"));
    80             $this->tpl->setVariable(
"HREF", $a_set[
'href']);
    81             $this->tpl->parseCurrentBlock();
    84         $this->tpl->setVariable(
"USED", ($a_set[
'used']) ? 
$lng->
txt(
"used") : 
$lng->
txt(
"not_used"));
    85         $this->tpl->setVariable(
"SENT", ($a_set[
'sent']) ? 
'✓' : 
'');
    86         $this->tpl->setVariable(
"USED_CLASS", ($a_set[
'used']) ? 
' smallgreen' : 
' smallred');
    88         $this->tpl->setVariable(
"CODE", $a_set[
'code']);
    89         $this->tpl->setVariable(
"EMAIL", $a_set[
'email']);
    90         $this->tpl->setVariable(
"LAST_NAME", $a_set[
'last_name']);
    91         $this->tpl->setVariable(
"FIRST_NAME", $a_set[
'first_name']);
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
 
__construct(object $a_parent_obj, string $a_parent_cmd)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setFormName(string $a_name="")
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
addMultiCommand(string $a_cmd, string $a_text)
 
setPrefix(string $a_prefix)