ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Survey\Execution\LaunchGUI Class Reference
+ Collaboration diagram for ILIAS\Survey\Execution\LaunchGUI:

Public Member Functions

 __construct (protected InternalDomainService $domain, protected InternalGUIService $gui, protected \ilObjSurvey $survey)
 
 executeCommand ()
 
 initSession ()
 

Protected Member Functions

 launch ()
 
 forwardInputsToParameters ()
 
 start ()
 
 resume ()
 
 collectData ()
 
 getLauncher ()
 
 getPanel ()
 
 getMessageBox ()
 
 determinePrivacyInfo ()
 
 determineAppraiseeInfo ()
 
 determineMainLink (string $anonymous_code,)
 
 determineNotStartableReasons ()
 

Protected Attributes

string $requested_code
 
FeatureConfig $feature_config
 
RunManager $run_manager
 
int $user_id
 
AccessManager $access_manager
 
StatusManager $status_manager
 
string $launch_title = ""
 
string $launch_target = ""
 
array $launch_inputs = []
 
array $launch_messages = []
 
array $launch_information = []
 
array $launch_message_buttons = []
 
array $launch_message_links = []
 

Detailed Description

Definition at line 34 of file class.LaunchGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\Execution\LaunchGUI::__construct ( protected InternalDomainService  $domain,
protected InternalGUIService  $gui,
protected \ilObjSurvey  $survey 
)

Definition at line 51 of file class.LaunchGUI.php.

References ILIAS\Survey\Execution\LaunchGUI\$user_id, ILIAS\Survey\InternalDomainService\access(), ILIAS\Survey\InternalDomainService\execution(), ILIAS\Survey\InternalGUIService\execution(), ILIAS\Survey\InternalDomainService\modeFeatureConfig(), and ILIAS\Survey\InternalDomainService\participants().

55  {
56  $this->user_id = $domain->user()->getId();
57  $this->status_manager = $domain->participants()->status($this->survey, $this->user_id);
58  $this->access_manager = $domain->access($this->survey->getRefId(), $this->user_id);
59  $this->run_manager = $domain->execution()->run($this->survey, $this->user_id);
60  $this->feature_config = $domain->modeFeatureConfig($this->survey->getMode());
61  $exec_request = $gui->execution()->request();
62  $this->requested_code = $exec_request->getAnonymousId();
63  }
+ Here is the call graph for this function:

Member Function Documentation

◆ collectData()

ILIAS\Survey\Execution\LaunchGUI::collectData ( )
protected

Definition at line 181 of file class.LaunchGUI.php.

References Vendor\Package\$f, $lng, ILIAS\Survey\Execution\LaunchGUI\determineAppraiseeInfo(), ILIAS\Survey\Execution\LaunchGUI\determineMainLink(), and ILIAS\Survey\Execution\LaunchGUI\determineNotStartableReasons().

Referenced by ILIAS\Survey\Execution\LaunchGUI\forwardInputsToParameters(), and ILIAS\Survey\Execution\LaunchGUI\launch().

181  : void
182  {
183  $ctrl = $this->gui->ctrl();
184  $lng = $this->domain->lng();
185  $f = $this->gui->ui()->factory();
186 
187  $anonymous_code = $this->run_manager->getCode();
188 
189  // appraisee info
190  $this->determineAppraiseeInfo();
191 
193 
194  // enter code?
195  if ($this->status_manager->mustEnterCode($anonymous_code)) {
196  $this->launch_information[$lng->txt("svy_code")] =
197  $lng->txt("anonymize_anonymous_introduction");
198  $this->launch_inputs["anonymous_id"] = $f->input()->field()->text(
199  $lng->txt("enter_anonymous_id")
200  );
201  $this->launch_target = $ctrl->getLinkTargetByClass(
202  self::class,
203  "start"
204  );
205  $this->launch_title = $lng->txt("start_survey");
206  }
207 
208  $this->determineMainLink($anonymous_code);
209 
210  // add as appraisee
211  if ($this->status_manager->canAddItselfAsAppraisee() &&
212  $this->access_manager->canStartSurvey()) { // #14968
213  $this->launch_message_buttons[] = $f->button()->standard(
214  $lng->txt("survey_360_add_self_appraisee"),
215  $ctrl->getLinkTargetByClass(\ilSurveyParticipantsGUI::class, "addSelfAppraisee")
216  );
217  }
218 
219  // introduction
220  if ($this->survey->getIntroduction() !== '') {
221  $introduction = $this->survey->getIntroduction();
222  $this->launch_information[] = $this->survey->prepareTextareaOutput($introduction);
223  }
224 
225  // access information
226  if (!$this->feature_config->usesAppraisees()) {
227  $this->launch_information[$lng->txt("survey_results_anonymization")] =
228  !$this->survey->hasAnonymizedResults()
229  ? $lng->txt("survey_results_personalized_info")
230  : $lng->txt("survey_results_anonymized_info");
231  if ($this->access_manager->canAccessEvaluation()) {
232  $this->launch_messages[$lng->txt("evaluation_access")] =
233  $lng->txt("evaluation_access_info");
234  }
235  }
236  }
determineMainLink(string $anonymous_code,)
global $lng
Definition: privfeed.php:31
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineAppraiseeInfo()

ILIAS\Survey\Execution\LaunchGUI::determineAppraiseeInfo ( )
protected

Definition at line 335 of file class.LaunchGUI.php.

References Vendor\Package\$f, $lng, $txt, ILIAS\Survey\Execution\LaunchGUI\$user_id, ILIAS\Survey\Execution\LaunchGUI\determinePrivacyInfo(), ilDatePresentation\formatDate(), IL_CAL_UNIX, and ilDatePresentation\setUseRelativeDates().

Referenced by ILIAS\Survey\Execution\LaunchGUI\collectData().

335  : void
336  {
337  $survey = $this->survey;
338  $lng = $this->domain->lng();
339  $ctrl = $this->gui->ctrl();
340  $f = $this->gui->ui()->factory();
341 
342  if ($this->status_manager->isAppraisee()) {
343  $this->determinePrivacyInfo();
344 
345  $appr_data = $survey->getAppraiseesData();
346  $appr_data = $appr_data[$this->user_id];
347 
348  $this->launch_information[$lng->txt("svy_your_raters")] =
349  sprintf($lng->txt("svy_your_raters_finished"), $appr_data["finished"]);
350 
351  if ($survey->get360Mode()) {
352  if (!$appr_data["closed"]) {
353  $button = $f->button()->standard(
354  $lng->txt("survey_360_appraisee_close_action"),
355  $ctrl->getLinkTargetByClass(
356  \ilSurveyParticipantsGUI::class,
357  "confirmappraiseeclose"
358  )
359  );
360  $this->launch_message_buttons[] = $button;
361 
362  $txt = "survey_360_appraisee_close_action_info";
363  if ($survey->getSkillService()) {
364  $txt .= "_skill";
365  }
366  $this->launch_messages[] = $lng->txt($txt);
367  } else {
369  $dt = new \ilDateTime($appr_data["closed"], IL_CAL_UNIX);
370  $this->launch_information[$lng->txt("status")] = sprintf(
371  $lng->txt("survey_360_appraisee_close_action_status"),
373  );
374  }
375  }
376  }
377  }
static array static setUseRelativeDates(bool $a_status)
set use relative dates
const IL_CAL_UNIX
$txt
Definition: error.php:31
global $lng
Definition: privfeed.php:31
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineMainLink()

ILIAS\Survey\Execution\LaunchGUI::determineMainLink ( string  $anonymous_code)
protected

Definition at line 379 of file class.LaunchGUI.php.

References Vendor\Package\$f, $lng, ILIAS\Survey\Execution\LaunchGUI\$status_manager, ANONYMOUS_USER_ID, ilUserUtil\getNamePresentation(), ILIAS\Survey\Participants\StatusManager\isAppraisee(), and ILIAS\Survey\Participants\StatusManager\mustEnterCode().

Referenced by ILIAS\Survey\Execution\LaunchGUI\collectData().

381  : void {
382  $ctrl = $this->gui->ctrl();
383  $f = $this->gui->ui()->factory();
384  $lng = $this->domain->lng();
385  $survey = $this->survey;
387  if ($this->access_manager->canStartSurvey() &&
388  !$status_manager->mustEnterCode($anonymous_code)) {
389  if (!$this->feature_config->usesAppraisees()) {
390  if ($anonymous_code) {
391  $ctrl->setParameterByClass(\ilObjSurvey::class, "anonymous_id", $anonymous_code);
392  // $info->addHiddenElement("anonymous_id", $anonymous_code);
393  }
394  if ($this->run_manager->hasStarted() &&
395  !$this->run_manager->hasFinished()) {
396  $this->launch_target = $ctrl->getLinkTargetByClass(
397  self::class,
398  "resume"
399  );
400  $this->launch_title = $lng->txt("resume_survey");
401  } elseif (!$this->run_manager->hasStarted()) {
402  $this->launch_target = $ctrl->getLinkTargetByClass(
403  self::class,
404  "start"
405  );
406  $this->launch_title = $lng->txt("start_survey");
407  }
408  } else {
409  // list appraisees
410  $appr_ids = array();
411 
412  // use given code (if proper external one)
413  if ($anonymous_code) {
414  $anonymous_id = $survey->getAnonymousIdByCode($anonymous_code);
415  if ($anonymous_id) {
416  $appr_ids = $survey->getAppraiseesToRate(0, $anonymous_id);
417  }
418  }
419 
420  // registered user
421  // if an auto-code was generated, we still have to check for the original user id
422  if (!$appr_ids && $this->user_id !== ANONYMOUS_USER_ID) {
423  $appr_ids = $survey->getAppraiseesToRate($this->user_id);
424  }
425 
426  if (count($appr_ids)) {
427  // map existing runs to appraisees
428  $active_appraisees = array();
429  foreach ($this->run_manager
430  ->getRunsForUser($this->user_id, $anonymous_code) as $item) {
431  $active_appraisees[$item->getAppraiseeId()] = $item->getFinished();
432  }
433 
434  $list = array();
435  $appraisee_options = [];
436  $closed = 0;
437  $open = 0;
438  $finished = 0;
439  foreach ($appr_ids as $appr_id) {
440  if ($survey->isAppraiseeClosed($appr_id)) {
441  // closed
442  $list[$appr_id] = $lng->txt("survey_360_appraisee_is_closed");
443  $closed++;
444  if ($active_appraisees[$appr_id] ?? false) {
445  $finished++;
446  }
447  } elseif (array_key_exists($appr_id, $active_appraisees)) {
448  // already done
449  if ($active_appraisees[$appr_id]) {
450  $list[$appr_id] = $lng->txt("already_completed_survey");
451  $finished++;
452  }
453  // resume
454  else {
455  $list[$appr_id] = array("resume", $lng->txt("resume_survey"));
456  $open++;
457  }
458  } else {
459  // start
460  $list[$appr_id] = array("start", $lng->txt("start_survey"));
461  $open++;
462  }
463  }
464 
465  foreach ($list as $appr_id => $item) {
466  $appr_name = \ilUserUtil::getNamePresentation($appr_id, false, false, "", true);
467  if (is_array($item)) {
468  $appraisee_options[$appr_id] = $appr_name;
469  }
470  }
471  if (count($appraisee_options) > 0) {
472  $this->launch_inputs["appraisee_id"] = $f->input()->field()->select(
473  $lng->txt("survey_360_appraisee"),
474  $appraisee_options
475  )->withRequired(true)->withValue(key($appraisee_options));
476  $this->launch_target = $ctrl->getLinkTargetByClass(
477  self::class,
478  "start"
479  );
480  $this->launch_title = $lng->txt("survey_360_rate_other_appraisee");
481  }
482 
483  $status_txt = ($open === 0)
484  ? $lng->txt("svy_0_open_appraisees")
485  : sprintf($lng->txt("svy_x_open_appraisees"), $open);
486  if ($finished > 0) {
487  $status_txt .= " " . sprintf($lng->txt("svy_finished_x_appraisees"), $finished);
488  }
489  if ($closed > 0) {
490  $status_txt .= " " . sprintf($lng->txt("svy_x_appraisees_closed_for_raters"), $closed);
491  }
492  $this->launch_information[$lng->txt("svy_your_appraisees")] = $status_txt;
493 
494  } elseif (!$status_manager->isAppraisee()) {
495  $this->launch_messages[] = $lng->txt("survey_360_no_appraisees");
496  //$this->main_tpl->setOnScreenMessage('failure', $this->lng->txt("survey_360_no_appraisees"));
497  }
498  }
499  }
500  }
mustEnterCode(string $code="")
Check if user must enter code to start (and currently is able to start)
const ANONYMOUS_USER_ID
Definition: constants.php:27
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is:
global $lng
Definition: privfeed.php:31
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineNotStartableReasons()

ILIAS\Survey\Execution\LaunchGUI::determineNotStartableReasons ( )
protected

Definition at line 502 of file class.LaunchGUI.php.

References Vendor\Package\$f, $lng, ilDatePresentation\formatDate(), and IL_CAL_TIMESTAMP.

Referenced by ILIAS\Survey\Execution\LaunchGUI\collectData().

502  : void
503  {
504  $survey = $this->survey;
505  $lng = $this->domain->lng();
506  $ctrl = $this->gui->ctrl();
507  $f = $this->gui->ui()->factory();
508 
509  if (!$this->access_manager->canStartSurvey() &&
510  $this->access_manager->canEditSettings()) {
511 
512  if (!$survey->hasStarted()) {
513  $this->launch_messages[] = $lng->txt('start_date_not_reached') . ' (' .
515  $survey->getStartDate(),
517  )) . ")";
518  }
519 
520  if ($survey->hasEnded()) {
521  $this->launch_messages[] = $lng->txt('end_date_reached') . ' (' .
522  \ilDatePresentation::formatDate(new \ilDateTime($survey->getEndDate(), IL_CAL_TIMESTAMP)) . ")";
523  }
524 
525  if ($survey->getOfflineStatus()) {
526  $this->launch_messages[] = $lng->txt("survey_is_offline");
527  }
528 
529  if ($this->access_manager->canEditSettings()) {
530  $this->launch_message_links[] = $f->link()->standard(
531  $lng->txt("survey_edit_settings"),
532  $ctrl->getLinkTargetByClass(\ilObjSurveyGUI::class, "properties")
533  );
534  }
535  }
536  }
global $lng
Definition: privfeed.php:31
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
const IL_CAL_TIMESTAMP
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determinePrivacyInfo()

ILIAS\Survey\Execution\LaunchGUI::determinePrivacyInfo ( )
protected

Definition at line 322 of file class.LaunchGUI.php.

References $lng, ilObjSurvey\RESULTS_360_ALL, and ilObjSurvey\RESULTS_360_OWN.

Referenced by ILIAS\Survey\Execution\LaunchGUI\determineAppraiseeInfo().

323  : void {
324  $survey = $this->survey;
325  $lng = $this->domain->lng();
326 
327  $privacy_info = $lng->txt("svy_rater_see_app_info");
328  if (in_array($survey->get360Results(), [\ilObjSurvey::RESULTS_360_OWN, \ilObjSurvey::RESULTS_360_ALL], true)) {
329  $privacy_info .= " " . $lng->txt("svy_app_see_rater_info");
330  }
331  //$this->launch_messages[] = $lng->txt("svy_privacy_info") . ": " . $privacy_info;
332  $this->launch_information[$lng->txt("svy_privacy_info")] = $privacy_info;
333  }
global $lng
Definition: privfeed.php:31
+ Here is the caller graph for this function:

◆ executeCommand()

ILIAS\Survey\Execution\LaunchGUI::executeCommand ( )

Definition at line 65 of file class.LaunchGUI.php.

65  : void
66  {
67  $ctrl = $this->gui->ctrl();
68 
69  $next_class = $ctrl->getNextClass($this);
70  $cmd = $ctrl->getCmd("launch");
71 
72  switch ($next_class) {
73  default:
74  if (in_array($cmd, array("launch", "start", "resume"))) {
75  $this->$cmd();
76  }
77  }
78  }

◆ forwardInputsToParameters()

ILIAS\Survey\Execution\LaunchGUI::forwardInputsToParameters ( )
protected

Definition at line 142 of file class.LaunchGUI.php.

References ILIAS\Survey\Execution\LaunchGUI\collectData(), and ILIAS\Survey\Execution\LaunchGUI\getLauncher().

Referenced by ILIAS\Survey\Execution\LaunchGUI\resume(), and ILIAS\Survey\Execution\LaunchGUI\start().

142  : void
143  {
144  $ctrl = $this->gui->ctrl();
145  $request = $this->gui->http()->request();
146  $this->collectData();
147  $launcher = $this->getLauncher();
148  if ($launcher) {
149  $launcher = $launcher->withRequest($request);
150  $result = $launcher->getResult();
151  if ($result && $result->isOK()) {
152  foreach ($result->value() as $key => $value) {
153  if ($key === "appraisee_id") {
154  $ctrl->setParameterByClass(\ilSurveyExecutionGUI::class, "appr_id", $value);
155  }
156  if ($key === "anonymous_id") {
157  $this->requested_code = $value;
158  $ctrl->setParameterByClass(\ilSurveyExecutionGUI::class, "anonymous_id", $value);
159  }
160  }
161  }
162  }
163  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLauncher()

ILIAS\Survey\Execution\LaunchGUI::getLauncher ( )
protected

Definition at line 239 of file class.LaunchGUI.php.

References Vendor\Package\$f, and null.

Referenced by ILIAS\Survey\Execution\LaunchGUI\forwardInputsToParameters(), and ILIAS\Survey\Execution\LaunchGUI\launch().

239  : ?Inline
240  {
241  $f = $this->gui->ui()->factory();
242 
243  if ($this->launch_target !== "") {
244  $data_factory = new \ILIAS\Data\Factory();
245  $uri = $data_factory->uri(ILIAS_HTTP_PATH . '/' . $this->launch_target);
246  $link = $data_factory->link($this->launch_title, $uri);
247 
248  $launcher = $f->launcher()->inline(
249  $link
250  );
251 
252  if (count($this->launch_inputs) > 0) {
253  $launcher = $launcher->withInputs(
254  $f->input()->field()->group($this->launch_inputs),
255  function () {
256  },
257  null
258  )->withModalSubmitLabel($this->launch_title);
259  }
260 
261  return $launcher;
262  }
263  return null;
264  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the caller graph for this function:

◆ getMessageBox()

ILIAS\Survey\Execution\LaunchGUI::getMessageBox ( )
protected

Definition at line 301 of file class.LaunchGUI.php.

References Vendor\Package\$f, and null.

Referenced by ILIAS\Survey\Execution\LaunchGUI\launch().

301  : ?MessageBox
302  {
303  $f = $this->gui->ui()->factory();
304  if (count($this->launch_messages) > 0 || count($this->launch_message_buttons) > 0
305  || count($this->launch_message_links) > 0) {
306  $mess = "";
307  foreach ($this->launch_messages as $m) {
308  $mess .= "<p>$m</p>";
309  }
310  $mbox = $f->messageBox()->info($mess);
311  if (count($this->launch_message_buttons) > 0) {
312  $mbox = $mbox->withButtons($this->launch_message_buttons);
313  }
314  if (count($this->launch_message_links) > 0) {
315  $mbox = $mbox->withLinks($this->launch_message_links);
316  }
317  return $mbox;
318  }
319  return null;
320  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the caller graph for this function:

◆ getPanel()

ILIAS\Survey\Execution\LaunchGUI::getPanel ( )
protected

Definition at line 266 of file class.LaunchGUI.php.

References Vendor\Package\$f, $lng, and null.

Referenced by ILIAS\Survey\Execution\LaunchGUI\launch().

266  : ?Standard
267  {
268  $f = $this->gui->ui()->factory();
269  $lng = $this->domain->lng();
270 
271  if (count($this->launch_information) > 0) {
272 
273  $items = [];
274  $key_value = [];
275 
276  foreach ($this->launch_information as $key => $value) {
277  if (is_numeric($key)) {
278  $items[] = $f->legacy()->content($value);
279  } else {
280  $key_value[$key] = $value;
281  }
282  }
283 
284  if (count($key_value) > 0) {
285  if (count($items) > 0) {
286  $items[] = $f->divider()->horizontal();
287  }
288  $items[] = $f->listing()->descriptive($key_value);
289  }
290 
291  $panel = $f->panel()->standard(
292  $lng->txt("svy_information"),
293  $items
294  );
295 
296  return $panel;
297  }
298  return null;
299  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $lng
Definition: privfeed.php:31
+ Here is the caller graph for this function:

◆ initSession()

ILIAS\Survey\Execution\LaunchGUI::initSession ( )

Definition at line 80 of file class.LaunchGUI.php.

References Vendor\Package\$e.

Referenced by ILIAS\Survey\Execution\LaunchGUI\launch(), ILIAS\Survey\Execution\LaunchGUI\resume(), and ILIAS\Survey\Execution\LaunchGUI\start().

80  : void
81  {
82  $ctrl = $this->gui->ctrl();
83  $main_tpl = $this->gui->ui()->mainTemplate();
84  try {
85  $this->run_manager->initSession($this->requested_code);
86  } catch (\ilWrongSurveyCodeException $e) {
87  $main_tpl->setOnScreenMessage("failure", $e->getMessage(), true);
88  $ctrl->redirectByClass(self::class, "launch");
89  }
90  }
+ Here is the caller graph for this function:

◆ launch()

ILIAS\Survey\Execution\LaunchGUI::launch ( )
protected

Definition at line 92 of file class.LaunchGUI.php.

References Vendor\Package\$f, $lng, $r, ILIAS\Survey\Execution\LaunchGUI\collectData(), ILIAS\Survey\Execution\LaunchGUI\getLauncher(), ILIAS\Survey\Execution\LaunchGUI\getMessageBox(), ILIAS\Survey\Execution\LaunchGUI\getPanel(), and ILIAS\Survey\Execution\LaunchGUI\initSession().

92  : void
93  {
94  $f = $this->gui->ui()->factory();
95  $r = $this->gui->ui()->renderer();
96  $ctrl = $this->gui->ctrl();
97  $main_tpl = $this->gui->ui()->mainTemplate();
98  $lng = $this->domain->lng();
99 
100  // init session
101  $this->initSession();
102 
103  // completed message
104  if ($this->status_manager->cantStartAgain()) {
105  $main_tpl->setOnScreenMessage('info', $lng->txt("already_completed_survey"));
106  }
107 
108  // view results link
109  /*
110  if ($this->status_manager->canViewUserResults()) {
111  $this->launch_message_links[] = $f->link()->standard(
112  $lng->txt("svy_view_own_results"),
113  $ctrl->getLinkTargetByClass(\ilObjSurveyGUI::class, "viewUserResults")
114  );
115  }*/
116 
117  // confirmation mail button / input (omitted, since abandoned)
118 
119  $items = [];
120 
121  $this->collectData();
122 
123  // message box
124  if ($mbox = $this->getMessageBox()) {
125  $items[] = $mbox;
126  }
127 
128  // panel
129  if ($panel = $this->getPanel()) {
130  $items[] = $panel;
131  }
132 
133  // launcher
134  if ($launcher = $this->getLauncher()) {
135  $items[] = $launcher;
136  }
137 
138  $mt = $this->gui->mainTemplate();
139  $mt->setContent($r->render($items));
140  }
global $lng
Definition: privfeed.php:31
$r
+ Here is the call graph for this function:

◆ resume()

ILIAS\Survey\Execution\LaunchGUI::resume ( )
protected

Definition at line 173 of file class.LaunchGUI.php.

References ILIAS\Survey\Execution\LaunchGUI\forwardInputsToParameters(), and ILIAS\Survey\Execution\LaunchGUI\initSession().

173  : void
174  {
175  $ctrl = $this->gui->ctrl();
176  $this->forwardInputsToParameters();
177  $this->initSession();
178  $ctrl->redirectByClass(\ilSurveyExecutionGUI::class, "resume");
179  }
+ Here is the call graph for this function:

◆ start()

ILIAS\Survey\Execution\LaunchGUI::start ( )
protected

Definition at line 165 of file class.LaunchGUI.php.

References ILIAS\Survey\Execution\LaunchGUI\forwardInputsToParameters(), and ILIAS\Survey\Execution\LaunchGUI\initSession().

165  : void
166  {
167  $ctrl = $this->gui->ctrl();
168  $this->forwardInputsToParameters();
169  $this->initSession();
170  $ctrl->redirectByClass(\ilSurveyExecutionGUI::class, "start");
171  }
+ Here is the call graph for this function:

Field Documentation

◆ $access_manager

AccessManager ILIAS\Survey\Execution\LaunchGUI::$access_manager
protected

Definition at line 40 of file class.LaunchGUI.php.

◆ $feature_config

FeatureConfig ILIAS\Survey\Execution\LaunchGUI::$feature_config
protected

Definition at line 37 of file class.LaunchGUI.php.

◆ $launch_information

array ILIAS\Survey\Execution\LaunchGUI::$launch_information = []
protected

Definition at line 47 of file class.LaunchGUI.php.

◆ $launch_inputs

array ILIAS\Survey\Execution\LaunchGUI::$launch_inputs = []
protected

Definition at line 44 of file class.LaunchGUI.php.

◆ $launch_message_buttons

array ILIAS\Survey\Execution\LaunchGUI::$launch_message_buttons = []
protected

Definition at line 48 of file class.LaunchGUI.php.

◆ $launch_message_links

array ILIAS\Survey\Execution\LaunchGUI::$launch_message_links = []
protected

Definition at line 49 of file class.LaunchGUI.php.

◆ $launch_messages

array ILIAS\Survey\Execution\LaunchGUI::$launch_messages = []
protected

Definition at line 45 of file class.LaunchGUI.php.

◆ $launch_target

string ILIAS\Survey\Execution\LaunchGUI::$launch_target = ""
protected

Definition at line 43 of file class.LaunchGUI.php.

◆ $launch_title

string ILIAS\Survey\Execution\LaunchGUI::$launch_title = ""
protected

Definition at line 42 of file class.LaunchGUI.php.

◆ $requested_code

string ILIAS\Survey\Execution\LaunchGUI::$requested_code
protected

Definition at line 36 of file class.LaunchGUI.php.

◆ $run_manager

RunManager ILIAS\Survey\Execution\LaunchGUI::$run_manager
protected

Definition at line 38 of file class.LaunchGUI.php.

◆ $status_manager

StatusManager ILIAS\Survey\Execution\LaunchGUI::$status_manager
protected

◆ $user_id

int ILIAS\Survey\Execution\LaunchGUI::$user_id
protected

The documentation for this class was generated from the following file: