4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
19 $this->lng = $DIC->language();
20 $this->ctrl = $DIC->ctrl();
21 $lng = $DIC->language();
24 parent::__construct($a_parent_obj, $a_parent_cmd);
26 $this->
setTitle(
$lng->txt(
"svy_anonymous_participants_svy"));
28 $this->
addColumn($this->lng->txt(
"name"),
"name");
29 $this->
addColumn($this->lng->txt(
"login"),
"login");
31 $this->
addColumn($this->lng->txt(
"status"),
"status");
33 $this->
setRowTemplate(
"tpl.il_svy_svy_participants_row.html",
"Modules/Survey");
47 if (
$user[
"finished"]) {
48 $status =
$lng->txt(
"survey_results_finished");
50 $status =
$lng->txt(
"survey_results_started");
54 "name" => $user[
"sortname"],
55 "login" => $user[
"login"],
65 "name" => $user[
"lastname"] .
", " . $user[
"firstname"],
66 "login" => $user[
"login"],
67 "status" =>
$lng->txt(
"survey_results_not_started")
77 $this->tpl->setVariable(
"NAME", $a_set[
"name"]);
78 $this->tpl->setVariable(
"LOGIN", $a_set[
"login"]);
79 $this->tpl->setVariable(
"STATUS", $a_set[
"status"]);
static _lookupName($a_user_id)
lookup user name
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
& getSurveyParticipants($finished_ids=null, $force_non_anonymous=false)
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct($a_parent_obj, $a_parent_cmd, ilObjSurvey $a_svy)
& getInvitedUsers()
Returns a list of all invited users in a survey.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
getItems(ilObjSurvey $a_svy)
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.