4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
19 parent::__construct($a_parent_obj, $a_parent_cmd);
21 $this->
setTitle($lng->txt(
"svy_anonymous_participants_svy"));
23 $this->
addColumn($this->lng->txt(
"name"),
"name");
24 $this->
addColumn($this->lng->txt(
"login"),
"login");
26 $this->
addColumn($this->lng->txt(
"status"),
"status");
28 $this->
setRowTemplate(
"tpl.il_svy_svy_participants_row.html",
"Modules/Survey");
29 $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
45 $status = $lng->txt(
"survey_results_finished");
49 $status = $lng->txt(
"survey_results_started");
53 "name" => $user[
"sortname"],
54 "login" => $user[
"login"],
63 !array_key_exists($user[
"login"],
$data))
66 "name" => $user[
"lastname"].
", ".$user[
"firstname"],
67 "login" => $user[
"login"],
68 "status" => $lng->txt(
"survey_results_not_started")
78 $this->tpl->setVariable(
"NAME", $a_set[
"name"]);
79 $this->tpl->setVariable(
"LOGIN", $a_set[
"login"]);
80 $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.
Create styles array
The data for the language used.
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.