36        $this->survey_service = 
$DIC->survey()->internal();
 
   38        $this->
lng = $DIC->language();
 
   39        $this->
ctrl = $DIC->ctrl();
 
   41        $ilCtrl = 
$DIC->ctrl();
 
   42        $this->invitation_manager = $this
 
   58        $this->
setRowTemplate(
"tpl.il_svy_svy_participants_row.html", 
"Modules/Survey/Participants");
 
   59        $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
 
   72            if ($user[
"finished"]) {
 
   73                $status = 
$lng->
txt(
"survey_results_finished");
 
   75                $status = 
$lng->
txt(
"survey_results_started");
 
   78            $data[$user[
"login"]] = array(
 
   79                "name" => $user[
"sortname"],
 
   80                "login" => $user[
"login"],
 
   85        foreach ($this->invitation_manager->getAllForSurvey($a_svy->
getSurveyId()) as $user_id) {
 
   88                !array_key_exists($user[
"login"], 
$data)) {
 
   89                $data[$user[
"login"]] = array(
 
   90                    "name" => $user[
"lastname"] . 
", " . $user[
"firstname"],
 
   91                    "login" => $user[
"login"],
 
   92                    "status" => 
$lng->
txt(
"survey_results_not_started")
 
  100    protected function fillRow(array $a_set): void
 
  102        $this->tpl->setVariable(
"NAME", $a_set[
"name"]);
 
  103        $this->tpl->setVariable(
"LOGIN", $a_set[
"login"]);
 
  104        $this->tpl->setVariable(
"STATUS", $a_set[
"status"]);
 
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...
 
getSurveyParticipants(?array $finished_ids=null, bool $force_non_anonymous=false, bool $include_invites=false)
 
static _lookupName(int $a_user_id)
lookup user name
 
Participants InvitationsManager $invitation_manager
 
ILIAS Survey InternalService $survey_service
 
fillRow(array $a_set)
Standard Version of Fill Row.
 
getItems(ilObjSurvey $a_svy)
 
__construct(object $a_parent_obj, string $a_parent_cmd, ilObjSurvey $a_svy)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
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)
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
 
setData(array $a_data)
Set table data.
 
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...