26     protected \ILIAS\Survey\Editing\EditingGUIRequest 
$request;
    39         $main_tpl = $DIC->ui()->mainTemplate();
    43         $ilAccess = $DIC->access();
    45         $ilUser = $DIC->user();
    46         $this->request = $DIC->survey()
    60         $this->subject->setSize(50);
    61         $this->subject->setRequired(
true);
    67         $this->sendtype->addOption(
new ilCheckboxOption($this->
lng->txt(
"send_to_unanswered"), 3, 
''));
    68         $this->sendtype->addOption(
new ilCheckboxOption($this->
lng->txt(
"send_to_answered"), 2, 
''));
    69         $this->
addItem($this->sendtype);
    71         $existingdata = $this->guiclass->getObject()->getExternalCodeRecipients();
    73         $existingcolumns = array();
    74         if (count($existingdata)) {
    75             $first = array_shift($existingdata);
    76             foreach ($first as $key => $value) {
    77                 if (strcmp($key, 
'code') !== 0 && strcmp($key, 
'email') !== 0 && strcmp($key, 
'sent') !== 0) {
    78                     $existingcolumns[] = 
'[' . $key . 
']';
    83         $settings = $this->guiclass->getObject()->getUserSettings($ilUser->getId(), 
'savemessage');
    85             $options = array(0 => $this->
lng->txt(
'please_select'));
    87                 $options[$setting[
'settings_id']] = $setting[
'title'];
    89             $this->savedmessages = 
new ilSelectInputGUI($this->
lng->txt(
"saved_messages"), 
"savedmessage");
    91             $this->
addItem($this->savedmessages);
    96         $this->mailmessage->setCols(80);
    97         $this->mailmessage->setRows(10);
    98         $this->mailmessage->setInfo(sprintf($this->
lng->txt(
'message_content_info'), implode(
', ', $existingcolumns)));
    99         $this->
addItem($this->mailmessage);
   103         $this->savemessage->setOptionTitle($this->
lng->txt(
"save_reuse_message"));
   104         $this->savemessage->setValue(1);
   106         $this->savemessagetitle = 
new ilTextInputGUI($this->
lng->txt(
'save_reuse_title'), 
'savemessagetitle');
   107         $this->savemessagetitle->setSize(60);
   108         $this->savemessage->addSubItem($this->savemessagetitle);
   110         $this->
addItem($this->savemessage);
   113             if ($ilAccess->checkAccess(
"write", 
"", $this->request->getRefId())) {
   116             if ($ilAccess->checkAccess(
"write", 
"", $this->request->getRefId())) {
   121         if ((
int) 
$ilSetting->get(
'mail_allow_external')) {
   124             $main_tpl->setOnScreenMessage(
'info', 
$lng->
txt(
"cant_send_email_smtp_disabled"));
 Class ilSurveyParticipantsGUI. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
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...
 
__construct(Container $dic, ilPlugin $plugin)
 
This class represents a text area property in a property form.