57 $this->
user = $DIC->user();
58 $this->survey_service =
$DIC->survey()->internal();
59 $this->gui = $this->survey_service->gui();
61 $this->
lng = $DIC->language();
62 $this->nav_history =
$DIC[
"ilNavigationHistory"];
63 $this->
tabs = $DIC->tabs();
64 $this->
help = $DIC[
"ilHelp"];
65 $this->rbacsystem =
$DIC->rbac()->system();
66 $this->tree =
$DIC->repositoryTree();
67 $this->tpl =
$DIC[
"tpl"];
68 $this->
toolbar = $DIC->toolbar();
69 $this->
access = $DIC->access();
70 $this->senderFactory =
$DIC->mail()->mime()->senderFactory();
72 $ilCtrl =
$DIC->ctrl();
77 $this->
ctrl = $ilCtrl;
78 $this->
ctrl->saveParameter($this,
"ref_id");
82 $this->invitation_manager = $this->survey_service->domain()->participants()->invitations();
84 $this->execution_request = $this->survey_service
91 if ($this->
object->getType() !==
"svy") {
94 if ($this->
object && $this->
object->getType() ===
"svy") {
99 $this->status_manager = $this->survey_service
103 $this->feature_config = $this->survey_service->domain()
104 ->modeFeatureConfig($this->
object->getMode());
105 $this->run_manager = $this->survey_service->domain()
107 $this->access_manager = $this->survey_service
109 ->access($this->requested_ref_id, $this->
user->getId());
111 $this->edit_request = $this->survey_service
118 if (!
$DIC->globalScreen()->tool()->context()->stack()->hasMatch(
119 $DIC->globalScreen()->tool()->context()->collection()->repository()
121 $DIC->globalScreen()->tool()->context()->claim()->repository();
137 $cmd = $this->
ctrl->getCmd(
"properties");
141 if (!$this->
ctrl->getCmdClass() && $cmd ===
"questionsrepo") {
142 $this->
ctrl->setParameterByClass(
"ilsurveyeditorgui",
"pgov",
"1");
143 $this->
ctrl->redirectByClass(
"ilsurveyeditorgui",
"questions");
146 $next_class = $this->
ctrl->getNextClass($this);
147 if ($next_class !==
"") {
148 $this->
ctrl->setReturn($this,
"properties");
154 $this->log->debug(
"next_class= $next_class");
155 switch ($next_class) {
156 case 'illtiproviderobjectsettinggui':
158 $ilTabs->activateTab(
"settings");
159 $ilTabs->activateSubTab(
'lti_provider');
161 $lti_gui->setCustomRolesForSelection(
$GLOBALS[
'DIC']->
rbac()->review()->getLocalRoles($this->
object->getRefId()));
162 $lti_gui->offerLTIRolesForSelection(
false);
163 $this->
ctrl->forwardCommand($lti_gui);
167 case "ilinfoscreengui":
169 $this->
ctrl->getCmdClass(),
170 array(strtolower(PublicProfileGUI::class),
'ilobjportfoliogui')
176 $ilTabs->clearTargets();
182 case 'ilobjectmetadatagui':
184 $ilTabs->activateTab(
"meta_data");
187 $this->
ctrl->forwardCommand($md_gui);
190 case "ilsurveyevaluationgui":
194 $ilTabs->activateTab(
"svy_results");
197 $this->
ctrl->forwardCommand($eval_gui);
201 case "ilsurveyexecutiongui":
202 $ilTabs->clearTargets();
204 $this->
ctrl->forwardCommand($exec_gui);
207 case 'ilpermissiongui':
208 $ilTabs->activateTab(
"perm_settings");
211 $this->
ctrl->forwardCommand($perm_gui);
214 case 'ilobjectcopygui':
217 $this->
ctrl->forwardCommand($cp);
220 case "ilcommonactiondispatchergui":
222 $this->
ctrl->forwardCommand($gui);
226 case 'ilsurveyskillgui':
227 $ilTabs->activateTab(
"survey_competences");
229 $this->
ctrl->forwardCommand($gui);
232 case 'ilsurveyskilldeterminationgui':
233 $ilTabs->activateTab(
"maintenance");
235 $this->
ctrl->forwardCommand($gui);
238 case 'ilsurveyeditorgui':
240 $ilTabs->activateTab(
"survey_questions");
242 $this->
ctrl->forwardCommand($gui);
245 case 'ilsurveyconstraintsgui':
247 $ilTabs->activateTab(
"constraints");
249 $this->
ctrl->forwardCommand($gui);
252 case 'ilsurveyparticipantsgui':
253 if (!$this->feature_config->usesAppraisees()) {
254 $ilTabs->activateTab(
"maintenance");
256 $ilTabs->activateTab(
"survey_360_appraisees");
259 $this->
ctrl->forwardCommand($gui);
262 case "illearningprogressgui":
263 $ilTabs->activateTab(
"learning_progress");
268 $this->
ctrl->forwardCommand($new_gui);
272 $ilTabs->activateTab(
"export");
274 $exp_gui->addFormat(
"xml");
275 $this->
ctrl->forwardCommand($exp_gui);
278 case strtolower(\
ILIAS\
Survey\Execution\LaunchGUI::class):
279 $ilTabs->activateTab(
"run");
280 $this->
ctrl->forwardCommand(
281 $this->gui->execution()->launchGUI(
291 $this->log->debug(
"Default cmd= $cmd");
297 if (strtolower($this->edit_request->getBaseClass()) !==
"iladministrationgui" &&
298 $this->getCreationMode() !==
true) {
299 $this->tpl->printToStdout();
314 $external_rater = $this->status_manager->isExternalRater();
318 $this->
ctrl->setParameterByClass(
"ilobjsurveygui",
"ref_id", $this->ref_id);
319 $link = $this->
ctrl->getLinkTargetByClass(
"ilobjsurveygui",
"infoScreen");
320 $this->nav_history->addItem($this->ref_id, $link,
"svy");
331 $this->
ctrl->redirect($eval_gui,
"openEvaluation");
338 $a_options[
"svy360_1"] = array($this->
lng->txt(
"survey_360_mode"),
339 $this->lng->txt(
"survey_360_mode_info"));
342 $a_options[
"svyselfeval_1"] = array($this->
lng->txt(
"svy_self_ev_mode"),
343 $this->lng->txt(
"svy_self_ev_info"));
346 $a_options[
"individfeedb_1"] = array($this->
lng->txt(
"svy_ind_feedb_mode"),
347 $this->lng->txt(
"svy_ind_feedb_info"));
355 ->initCreateForm($this->requested_new_type)
356 ->withRequest($this->request);
357 $data = $form->getData();
358 $dtemplate =
$data[
"didactic_templates"];
361 $new_object->loadFromDb();
364 if (str_starts_with($dtemplate,
"svy360_")) {
366 } elseif (str_starts_with($dtemplate,
"svyselfeval_")) {
368 } elseif (str_starts_with($dtemplate,
"individfeedb_")) {
372 $svy_mode = $new_object->getMode();
380 $new_object->saveToDB();
383 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"object_added"),
true);
385 $new_object->
getRefId() .
"&cmd=properties");
394 if (is_null($this->
object)) {
403 $ilHelp->setScreenIdComponent(
"svy");
406 $this->tabs_gui->addTab(
408 $this->
lng->txt(
"obj_svy"),
409 $this->ctrl->getLinkTarget($this,
'run')
414 $this->tabs_gui->addTab(
416 $this->
lng->txt(
"survey_questions"),
417 $this->ctrl->getLinkTargetByClass(array(
"ilsurveyeditorgui"),
"questions")
422 $this->tabs_gui->addTab(
424 $this->
lng->txt(
"info_short"),
425 $this->ctrl->getLinkTarget($this,
'infoScreen')
431 $this->tabs_gui->addTab(
433 $this->
lng->txt(
"settings"),
434 $this->ctrl->getLinkTarget($this,
'properties')
437 if ($this->feature_config->usesAppraisees() &&
438 $this->object->get360SelfRaters() &&
439 $this->object->isAppraisee($ilUser->getId()) &&
440 !$this->object->isAppraiseeClosed($ilUser->getId())) {
441 $this->tabs_gui->addTab(
442 "survey_360_edit_raters",
443 $this->
lng->txt(
"survey_360_edit_raters"),
444 $this->ctrl->getLinkTargetByClass(
'ilsurveyparticipantsgui',
'editRaters')
455 $this->tabs_gui->addTab(
457 $this->
lng->txt(
"constraints"),
458 $this->ctrl->getLinkTargetByClass(
"ilsurveyconstraintsgui",
"constraints")
465 if ($this->
object->getSkillService() && $skmg_set->isActivated()) {
466 $this->tabs_gui->addTab(
467 "survey_competences",
468 $this->
lng->txt(
"survey_competences"),
469 $this->ctrl->getLinkTargetByClass(
"ilsurveyskillgui",
"listQuestionAssignment")
475 $this->tabs_gui->addTab(
476 "survey_360_appraisees",
477 $this->
lng->txt(
"survey_360_appraisees"),
478 $this->ctrl->getLinkTargetByClass(
'ilsurveyparticipantsgui',
'listAppraisees')
481 $this->tabs_gui->addTab(
483 $this->
lng->txt(
"svy_participants"),
484 $this->ctrl->getLinkTargetByClass(
'ilsurveyparticipantsgui',
'maintenance')
489 if ($this->access_manager->canAccessEvaluation()) {
491 $this->tabs_gui->addTab(
493 $this->
lng->txt(
"svy_results"),
494 $this->ctrl->getLinkTargetByClass(
"ilsurveyevaluationgui",
"openEvaluation")
500 $this->tabs_gui->addTarget(
502 $this->
ctrl->getLinkTargetByClass(array(
"ilobjsurveygui",
"illearningprogressgui"),
""),
504 array(
"illplistofobjectsgui",
"illplistofsettingsgui",
"illearningprogressgui",
"illplistofprogressgui")
511 $mdtab = $mdgui->getTab();
513 $this->tabs_gui->addTab(
515 $this->
lng->txt(
"meta_data"),
521 $this->tabs_gui->addTab(
523 $this->
lng->txt(
"export"),
524 $this->ctrl->getLinkTargetByClass(
"ilexportgui",
"")
530 $this->tabs_gui->addTab(
532 $this->
lng->txt(
"perm_settings"),
533 $this->ctrl->getLinkTargetByClass(array(get_class($this),
'ilpermissiongui'),
"perm")
545 $settings_ui = $this->survey_service->gui()->surveySettings($this->survey);
547 $form = $settings_ui->form(
"ilObjSurveyGUI");
548 if ($settings_ui->checkForm($form)) {
549 $settings_ui->saveForm($form);
553 $this->run_manager->clearCode();
555 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"settings_saved"),
true);
556 $this->
ctrl->redirect($this,
"properties");
559 $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"form_input_not_valid"));
560 $form->setValuesByPost();
566 $form = $this->survey_service
567 ->gui()->surveySettings($this->survey)->form(
"ilObjSurveyGUI");
574 if ($a_section ===
'settings') {
575 $this->tabs_gui->addSubTabTarget(
577 $this->
ctrl->getLinkTarget($this,
'properties')
581 if ($lti_settings->hasSettingsAccess()) {
582 $this->tabs_gui->addSubTabTarget(
584 $this->
ctrl->getLinkTargetByClass(ilLTIProviderObjectSettingGUI::class)
597 $ilTabs = $this->
tabs;
598 $ilHelp = $this->help;
600 $this->checkPermission(
"write");
602 $this->addSubTabs(
'settings');
603 $ilTabs->activateTab(
"settings");
604 $ilTabs->activateSubTab(
'settings');
606 if ($this->
object->get360Mode()) {
607 $ilHelp->setScreenId(
"settings_360");
611 $a_form = $this->initPropertiesForm();
614 $this->tpl->setContent($a_form->getHTML());
619 $fields = array(
'login',
'firstname',
'lastname',
'email');
622 $auto->setSearchFields($fields);
623 $auto->setResultField(
'login');
624 $auto->enableFieldSearchableCheck(
true);
625 $auto->setMoreLinkAvailable(
true);
627 if ($this->edit_request->getFetchAll()) {
639 $new_type = $this->edit_request->getNewType();
642 $this->checkPermission(
"create",
"", $new_type);
644 $this->
lng->loadLanguageModule($new_type);
645 $this->
ctrl->setParameter($this,
"new_type", $new_type);
647 $form = $this->initImportForm($new_type);
648 if ($form->checkInput()) {
650 $newObj->setType($new_type);
651 $newObj->setTitle(
"dummy");
653 $this->putObjectInTree($newObj);
657 $this->log->debug(
"form->getInput(spl) = " . $form->getInput(
"spl"));
659 $error = $newObj->importObject($_FILES[
"importfile"], (
int) $form->getInput(
"spl"));
662 $this->tpl->setOnScreenMessage(
'failure', $error);
666 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"object_imported"),
true);
668 "&baseClass=ilObjSurveyGUI");
672 $form->setValuesByPost();
673 $tpl->setContent($form->getHTML());
688 $this->
ctrl->redirectByClass(ilInfoScreenGUI::class,
"showSummary");
696 $ilTabs = $this->tabs;
697 if (!$this->access_manager->canAccessInfoScreen()) {
698 $this->noPermission();
700 $ilTabs->activateTab(
"info_short");
702 $info = $this->survey_service->gui()->infoScreen($this, $this->
toolbar);
709 $ilLocator = $this->gui->locator();
710 switch ($this->
ctrl->getCmd()) {
716 case "redirectQuestion":
717 $ilLocator->addItem($this->
object->getTitle(), $this->ctrl->getLinkTarget($this,
"infoScreen"),
"", $this->requested_ref_id);
720 case "checkEvaluationAccess":
721 case "evaluationdetails":
722 case "evaluationuser":
723 $ilLocator->addItem($this->
object->getTitle(), $this->ctrl->getLinkTargetByClass(
"ilsurveyevaluationgui",
"evaluation"),
"", $this->requested_ref_id);
732 $ilLocator->addItem($this->
object->getTitle(), $this->ctrl->getLinkTarget($this,
"infoScreen"),
"", $this->requested_ref_id);
735 if ($this->edit_request->getQuestionId() > 0 &&
736 !$this->edit_request->getNewForSurvey()) {
739 $q_id = $this->edit_request->getQuestionId();
741 $this->
ctrl->setParameterByClass($q_type,
"q_id", $q_id);
744 $this->
ctrl->getLinkTargetByClass(array(
"ilSurveyEditorGUI", $q_type),
"editQuestion")
759 $main_tpl =
$DIC->ui()->mainTemplate();
760 $request =
$DIC->survey()->internal()->gui()->execution()->request();
761 $a_access_code = $request->getAccessCode();
763 $ilAccess =
$DIC->access();
765 $ctrl =
$DIC->ctrl();
767 $t_arr = explode(
"_", $a_target);
769 if ($a_access_code ===
"" && isset($t_arr[1])) {
770 $a_access_code = $t_arr[1];
773 if ($a_access_code !==
'') {
774 $sess =
$DIC->survey()->internal()->repo()
775 ->execution()->runSession();
777 $ctrl->setParameterByClass(
"ilObjSurveyGUI",
"ref_id",
$ref_id);
778 $ctrl->redirectByClass(
"ilObjSurveyGUI",
"run");
782 if ($ilAccess->checkAccess(
"write",
"",
$ref_id)) {
783 $ctrl->setParameterByClass(
"ilObjSurveyGUI",
"ref_id",
$ref_id);
784 $ctrl->redirectByClass(
"ilObjSurveyGUI",
"run");
788 if ($ilAccess->checkAccess(
"visible",
"",
$ref_id) ||
789 $ilAccess->checkAccess(
"read",
"",
$ref_id)) {
790 if ($ilAccess->checkAccess(
"read",
"",
$ref_id)) {
791 $domain_service =
$DIC->survey()->internal()->domain();
792 $am = $domain_service->access(
$ref_id,
$DIC->user()->getId());
794 $run_manager = $domain_service->execution()->run($survey,
$DIC->user()->getId());
795 if ($am->canAccessEvaluation()) {
796 $ctrl->setParameterByClass(
"ilObjSurveyGUI",
"ref_id",
$ref_id);
797 $ctrl->redirectByClass([
"ilObjSurveyGUI",
"ilSurveyEvaluationGUI"],
"openEvaluation");
799 $ctrl->setParameterByClass(
"ilObjSurveyGUI",
"ref_id",
$ref_id);
800 $ctrl->redirectByClass(
"ilObjSurveyGUI",
"run");
802 $ctrl->setParameterByClass(
"ilObjSurveyGUI",
"ref_id",
$ref_id);
803 $ctrl->redirectByClass([
"ilObjSurveyGUI",
"ilInfoScreenGUI"]);
806 $main_tpl->setOnScreenMessage(
'failure', sprintf(
807 $lng->txt(
"msg_no_perm_read_item"),
820 $rtpl = new
ilTemplate(
"tpl.svy_view_user_results.html",
true,
true,
"components/ILIAS/Survey");
822 $show_titles = $this->
object->getShowQuestionTitles();
824 foreach ($this->
object->getSurveyPages() as $page) {
825 if (count($page) > 0) {
827 if (count($page) > 1) {
828 if ($page[0][
"questionblock_show_blocktitle"]) {
829 $rtpl->
setVariable(
"BLOCK_TITLE", trim($page[0][
"questionblock_title"] ??
""));
834 foreach ($page as $question) {
835 $question_gui = $this->
object->getQuestionGUI($question[
"type_tag"], $question[
"question_id"]);
836 $rtpl->setCurrentBlock(
"question_bl");
839 if (strlen($question[
"heading"] ??
"")) {
840 $rtpl->setVariable(
"HEADING", trim($question[
"heading"] ??
""));
845 $question_gui->getPrintView(
847 (
bool) $question[
"questionblock_show_questiontext"],
848 $this->object->getId(),
849 $this->object->loadWorkingData($question[
"question_id"], $a_active_id)
853 $rtpl->parseCurrentBlock();
856 $rtpl->setCurrentBlock(
"block_bl");
857 $rtpl->parseCurrentBlock();
869 $ilUser = $this->user;
871 $ilTabs = $this->tabs;
873 $anonymous_code = $this->run_manager->getCode();
874 $active_id = $this->
object->getActiveID($ilUser->getId(), $anonymous_code, 0);
876 if (!$this->run_manager->hasFinished() ||
878 $this->
ctrl->redirect($this,
"infoScreen");
881 $ilTabs->clearTargets();
882 $ilTabs->setBackTarget(
883 $this->
lng->txt(
"btn_back"),
884 $this->ctrl->getLinkTarget($this,
"infoScreen")
887 $html = $this->getUserResultsTable($active_id);
888 $tpl->setContent($html);
899 $show_titles = (bool) $this->
object->getShowQuestionTitles();
901 foreach ($this->
object->getSurveyPages() as $page) {
902 if (count($page) > 0) {
903 $res[] =
"\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
906 if (count($page) > 1) {
907 if ($page[0][
"questionblock_show_blocktitle"]) {
908 $res[$this->
lng->txt(
"questionblock")] = trim($page[0][
"questionblock_title"] ??
"") .
"\n";
916 foreach ($page as $question) {
917 $question_gui = $this->
object->getQuestionGUI($question[
"type_tag"], $question[
"question_id"]);
918 $question_parts = array();
921 if (strlen($question[
"heading"] ??
"")) {
922 $question_parts[$this->
lng->txt(
"heading")] = trim($question[
"heading"] ??
"");
926 $question_parts[$this->
lng->txt(
"title")] = trim($question[
"title"] ??
"");
929 if ($question[
"questionblock_show_questiontext"]) {
930 $question_parts[$this->
lng->txt(
"question")] = trim(strip_tags($question_gui->object->getQuestionText()));
933 $answers = $question_gui->getParsedAnswers(
934 $this->
object->loadWorkingData($question[
"question_id"], $a_active_id),
938 if (count($answers)) {
940 if (count($answers) > 1 ||
941 get_class($question_gui) ===
"SurveyTextQuestionGUI") {
946 foreach ($answers as $answer) {
948 if ($answer[
"textanswer"] ??
false) {
949 $text =
' ("' . $answer[
"textanswer"] .
'")';
951 if (!isset($answer[
"cols"])) {
952 if (isset($answer[
"title"])) {
953 $parts[] = $answer[
"title"] . $text;
954 } elseif (isset($answer[
"value"])) {
955 $parts[] = $answer[
"value"];
957 $parts[] = substr($text, 2, -1);
963 foreach ($answer[
"cols"] as $col) {
964 $tmp[] = $col[
"title"];
966 $parts[] = $answer[
"title"] .
": " . implode(
", ", $tmp) . $text;
969 $question_parts[$this->
lng->txt(
"answer")] =
970 ($multiline ?
"\n" :
"") . implode(
"\n",
$parts);
974 foreach ($question_parts as $type => $value) {
975 $tmp[] = $type .
": " . $value;
977 $page_res[] = implode(
"\n", $tmp);
980 $res[] = implode(
"\n\n-------------------------------\n\n", $page_res);
984 $res[] =
"\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
986 return implode(
"\n",
$res);
993 $ilUser = $this->
user;
995 $finished = $this->
object->getSurveyParticipants(array($a_active_id));
996 $finished = array_pop($finished);
1000 $body .= $this->
lng->txt(
"svy_mail_own_results_body") .
"\n";
1001 $body .=
"\n" . $this->
lng->txt(
"obj_svy") .
": " . $this->
object->getTitle() .
"\n";
1002 $body .= ilLink::_getLink($this->
object->getRefId(),
"svy") .
"\n";
1003 $body .=
"\n" . $this->
lng->txt(
"survey_results_finished") .
": " . $finished .
"\n\n";
1005 if ($this->
object->hasMailOwnResults()) {
1006 $subject =
"svy_mail_own_results_subject";
1007 $body .= $this->getUserResultsPlain($a_active_id);
1009 $subject =
"svy_mail_confirmation_subject";
1017 $mmail->From($this->senderFactory->system());
1018 $mmail->To($a_recipient);
1019 $mmail->Subject(sprintf($this->
lng->txt($subject), $this->object->getTitle()),
true);
1020 $mmail->Body($body);
1026 $ilUser = $this->user;
1028 $anonymous_code = $this->run_manager->getCode();
1029 $active_id = $this->
object->getActiveID($ilUser->getId(), $anonymous_code, 0);
1030 if (!$this->run_manager->hasFinished() ||
1032 $this->
ctrl->redirect($this,
"infoScreen");
1035 $recipient = $this->edit_request->getMail();
1037 $recipient = $ilUser->getEmail();
1040 $this->
ctrl->redirect($this,
"infoScreen");
1043 $this->sendUserResultsMail($active_id, $recipient);
1045 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"mail_sent"),
true);
1046 $this->
ctrl->redirect($this,
"infoScreen");
1053 string $a_rbac_permission,
1054 string $a_position_permission
1057 return $access->checkRbacOrPositionPermissionAccess(
1059 $a_position_permission,
1060 $this->
object->getRefId()
1066 $this->
ctrl->redirectByClass(
setVariable($variable, $value='')
Sets a variable value.
Survey internal ui service.
GUI class for public user profile presentation.
static _getTitle(int $question_id)
Returns the question title of a question with a given id.
static _getQuestionType(int $question_id)
Returns the question type of a question with a given id.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
@classDescription Date and time handling
Export User Interface Class.
GUI class for LTI provider object settings.
loadLanguageModule(string $a_module)
Load language module.
static checkAccess(int $a_ref_id, bool $a_allow_only_read=true)
check access to learning progress
const LP_CONTEXT_REPOSITORY
Class ilObjUserTrackingGUI.
static getLogger(string $a_component_id)
Get component logger.
Component logger with individual log levels by component id.
static getSalutation(int $a_usr_id, ?ilLanguage $a_language=null)
static _getInstallationSignature()
Last visited history for repository items.
static _hasEvaluationAccess(int $a_obj_id, int $user_id)
@ilCtrl_Calls ilObjSurveyGUI: ilSurveyEvaluationGUI, ilSurveyExecutionGUI @ilCtrl_Calls ilObjSurveyGU...
ILIAS Survey Execution ExecutionGUIRequest $execution_request
ILIAS Survey Access AccessManager $access_manager
infoScreenObject()
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually,...
ILIAS Survey InternalService $survey_service
ILIAS Survey Mode FeatureConfig $feature_config
retrieveAdditionalDidacticTemplateOptions()
getUserResultsTable(int $a_active_id)
ilNavigationHistory $nav_history
ILIAS Survey Participants StatusManager $status_manager
Participants InvitationsManager $invitation_manager
afterSave(ilObject $new_object)
Post (successful) object creation hook.
sendUserResultsMail(int $a_active_id, string $a_recipient)
ILIAS Survey Editing EditingGUIRequest $edit_request
static _goto(string $a_target)
redirect script
infoScreen()
show information screen
evaluationObject()
Redirects the evaluation object call to the ilSurveyEvaluationGUI class Coming from ListGUI....
addLocatorItems()
should be overwritten to add object specific items (repository items are preloaded)
ILIAS Survey Execution RunManager $run_manager
propertiesObject(?ilPropertyFormGUI $a_form=null)
Display the properties form.
ilMailMimeSenderFactory $senderFactory
addSubTabs(string $a_section)
getTabs()
@abstract overwrite in derived GUI class of your object type
getUserResultsPlain(int $a_active_id)
checkRbacOrPositionPermission(string $a_rbac_permission, string $a_position_permission)
Class ilObjSurveyQuestionPool.
const EVALUATION_ACCESS_PARTICIPANTS
GUI class for the workflow of copying objects.
Base exception class for object service.
Class ilObjectGUI Basic methods of all Output classes.
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
setCreationMode(bool $mode=true)
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode...
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
addHeaderAction()
Add header action menu.
prepareOutput(bool $show_sub_objects=true)
Class ilObject Basic functions for all objects.
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...
Skill management settings.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Survey evaluation graphical output.
Survey execution graphical output.
Class ilSurveyParticipantsGUI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
special template class to simplify handling of ITX/PEAR
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static is_email(string $a_email, ?ilMailRfc822AddressParserFactory $mailAddressParserFactory=null)
This preg-based function checks whether an e-mail address is formally valid.
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
static redirect(string $a_script)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
if(!file_exists('../ilias.ini.php'))