4include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
19 $this->lng =
$DIC->language();
20 $this->ctrl =
$DIC->ctrl();
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"]);
An exception for terminatinating execution or to throw for unit testing.
& getInvitedUsers()
Returns a list of all invited users in a survey.
& getSurveyParticipants($finished_ids=null, $force_non_anonymous=false)
static _lookupName($a_user_id)
lookup user name
fillRow($a_set)
Standard Version of Fill Row.
getItems(ilObjSurvey $a_svy)
__construct($a_parent_obj, $a_parent_cmd, ilObjSurvey $a_svy)
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.