57 $this->
user = $DIC->user();
58 $this->survey_service = $DIC->survey()->internal();
60 $this->
lng = $DIC->language();
61 $this->nav_history = $DIC[
"ilNavigationHistory"];
62 $this->
tabs = $DIC->tabs();
63 $this->
help = $DIC[
"ilHelp"];
64 $this->rbacsystem = $DIC->rbac()->system();
65 $this->tree = $DIC->repositoryTree();
66 $this->tpl = $DIC[
"tpl"];
67 $this->
toolbar = $DIC->toolbar();
68 $this->
access = $DIC->access();
69 $this->
locator = $DIC[
"ilLocator"];
70 $this->senderFactory = $DIC->mail()->mime()->senderFactory();
71 $lng = $DIC->language();
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
102 ->status($survey, $this->
user->getId());
103 $this->feature_config = $this->survey_service->domain()
104 ->modeFeatureConfig($this->
object->getMode());
105 $this->run_manager = $this->survey_service->domain()
106 ->execution()->run($survey, $this->
user->getId());
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();
131 if (!$access_manager->canAccessInfoScreen()) {
137 $cmd = $this->
ctrl->getCmd(
"properties");
140 if ($cmd ===
"saveTags") {
141 $this->
ctrl->setCmdClass(
"ilinfoscreengui");
145 if (!$this->
ctrl->getCmdClass() && $cmd ===
"questionsrepo") {
146 $this->
ctrl->setParameterByClass(
"ilsurveyeditorgui",
"pgov",
"1");
147 $this->
ctrl->redirectByClass(
"ilsurveyeditorgui",
"questions");
150 $next_class = $this->
ctrl->getNextClass($this);
151 if ($next_class !==
"") {
152 $this->
ctrl->setReturn($this,
"properties");
158 $this->log->debug(
"next_class= $next_class");
159 switch ($next_class) {
160 case 'illtiproviderobjectsettinggui':
162 $ilTabs->activateTab(
"settings");
163 $ilTabs->activateSubTab(
'lti_provider');
166 $lti_gui->offerLTIRolesForSelection(
false);
167 $this->
ctrl->forwardCommand($lti_gui);
171 case "ilinfoscreengui":
173 $this->
ctrl->getCmdClass(),
174 array(
'ilpublicuserprofilegui',
'ilobjportfoliogui')
180 $ilTabs->clearTargets();
182 $this->
ctrl->forwardCommand($info);
186 case 'ilobjectmetadatagui':
188 $ilTabs->activateTab(
"meta_data");
191 $this->
ctrl->forwardCommand($md_gui);
194 case "ilsurveyevaluationgui":
198 $ilTabs->activateTab(
"svy_results");
201 $this->
ctrl->forwardCommand($eval_gui);
205 case "ilsurveyexecutiongui":
206 $ilTabs->clearTargets();
208 $this->
ctrl->forwardCommand($exec_gui);
211 case 'ilpermissiongui':
212 $ilTabs->activateTab(
"perm_settings");
215 $this->
ctrl->forwardCommand($perm_gui);
218 case 'ilobjectcopygui':
221 $this->
ctrl->forwardCommand($cp);
224 case "ilcommonactiondispatchergui":
226 $this->
ctrl->forwardCommand($gui);
230 case 'ilsurveyskillgui':
231 $ilTabs->activateTab(
"survey_competences");
233 $this->
ctrl->forwardCommand($gui);
236 case 'ilsurveyskilldeterminationgui':
237 $ilTabs->activateTab(
"maintenance");
239 $this->
ctrl->forwardCommand($gui);
242 case 'ilsurveyeditorgui':
244 $ilTabs->activateTab(
"survey_questions");
246 $this->
ctrl->forwardCommand($gui);
249 case 'ilsurveyconstraintsgui':
251 $ilTabs->activateTab(
"constraints");
253 $this->
ctrl->forwardCommand($gui);
256 case 'ilsurveyparticipantsgui':
257 if (!$this->feature_config->usesAppraisees()) {
258 $ilTabs->activateTab(
"maintenance");
260 $ilTabs->activateTab(
"survey_360_appraisees");
263 $this->
ctrl->forwardCommand($gui);
266 case "illearningprogressgui":
267 $ilTabs->activateTab(
"learning_progress");
272 $this->
ctrl->forwardCommand($new_gui);
276 $ilTabs->activateTab(
"export");
278 $exp_gui->addFormat(
"xml");
279 $this->
ctrl->forwardCommand($exp_gui);
286 $this->log->debug(
"Default cmd= $cmd");
292 if (strtolower($this->edit_request->getBaseClass()) !==
"iladministrationgui" &&
294 $this->tpl->printToStdout();
309 $external_rater = $this->status_manager->isExternalRater();
313 $this->
ctrl->setParameterByClass(
"ilobjsurveygui",
"ref_id", $this->ref_id);
314 $link = $this->
ctrl->getLinkTargetByClass(
"ilobjsurveygui",
"infoScreen");
315 $this->nav_history->addItem($this->ref_id, $link,
"svy");
326 $this->
ctrl->setCmdClass(get_class($eval_gui));
327 $this->
ctrl->redirect($eval_gui,
"openEvaluation");
333 $a_options[
"svy360_1"] = array($this->
lng->txt(
"survey_360_mode"),
334 $this->
lng->txt(
"survey_360_mode_info"));
337 $a_options[
"svyselfeval_1"] = array($this->
lng->txt(
"svy_self_ev_mode"),
338 $this->
lng->txt(
"svy_self_ev_info"));
341 $a_options[
"individfeedb_1"] = array($this->
lng->txt(
"svy_ind_feedb_mode"),
342 $this->
lng->txt(
"svy_ind_feedb_info"));
348 $new_object->loadFromDb();
359 $svy_mode = $new_object->getMode();
367 $new_object->saveToDB();
370 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"object_added"),
true);
372 $new_object->
getRefId() .
"&cmd=properties");
381 if (is_null($this->
object)) {
390 $ilHelp->setScreenIdComponent(
"svy");
393 $this->tabs_gui->addTab(
395 $this->
lng->txt(
"survey_questions"),
396 $this->
ctrl->getLinkTargetByClass(array(
"ilsurveyeditorgui"),
"questions")
401 $this->tabs_gui->addTab(
403 $this->
lng->txt(
"info_short"),
404 $this->
ctrl->getLinkTarget($this,
'infoScreen')
410 $this->tabs_gui->addTab(
412 $this->
lng->txt(
"settings"),
413 $this->
ctrl->getLinkTarget($this,
'properties')
416 if ($this->feature_config->usesAppraisees() &&
417 $this->
object->get360SelfRaters() &&
418 $this->
object->isAppraisee($ilUser->getId()) &&
419 !$this->
object->isAppraiseeClosed($ilUser->getId())) {
420 $this->tabs_gui->addTab(
421 "survey_360_edit_raters",
422 $this->
lng->txt(
"survey_360_edit_raters"),
423 $this->
ctrl->getLinkTargetByClass(
'ilsurveyparticipantsgui',
'editRaters')
434 $this->tabs_gui->addTab(
436 $this->
lng->txt(
"constraints"),
437 $this->
ctrl->getLinkTargetByClass(
"ilsurveyconstraintsgui",
"constraints")
442 if ($feature_config && $feature_config->supportsCompetences()) {
444 if ($this->
object->getSkillService() && $skmg_set->isActivated()) {
445 $this->tabs_gui->addTab(
446 "survey_competences",
447 $this->
lng->txt(
"survey_competences"),
448 $this->
ctrl->getLinkTargetByClass(
"ilsurveyskillgui",
"listQuestionAssignment")
453 if ($feature_config && $feature_config->usesAppraisees()) {
454 $this->tabs_gui->addTab(
455 "survey_360_appraisees",
456 $this->
lng->txt(
"survey_360_appraisees"),
457 $this->
ctrl->getLinkTargetByClass(
'ilsurveyparticipantsgui',
'listAppraisees')
460 $this->tabs_gui->addTab(
462 $this->
lng->txt(
"svy_participants"),
463 $this->
ctrl->getLinkTargetByClass(
'ilsurveyparticipantsgui',
'maintenance')
468 if ($this->access_manager->canAccessEvaluation()) {
470 $this->tabs_gui->addTab(
472 $this->
lng->txt(
"svy_results"),
473 $this->
ctrl->getLinkTargetByClass(
"ilsurveyevaluationgui",
"openEvaluation")
479 $this->tabs_gui->addTarget(
481 $this->
ctrl->getLinkTargetByClass(array(
"ilobjsurveygui",
"illearningprogressgui"),
""),
483 array(
"illplistofobjectsgui",
"illplistofsettingsgui",
"illearningprogressgui",
"illplistofprogressgui")
490 $mdtab = $mdgui->getTab();
492 $this->tabs_gui->addTab(
494 $this->
lng->txt(
"meta_data"),
500 $this->tabs_gui->addTab(
502 $this->
lng->txt(
"export"),
503 $this->
ctrl->getLinkTargetByClass(
"ilexportgui",
"")
509 $this->tabs_gui->addTab(
511 $this->
lng->txt(
"perm_settings"),
512 $this->
ctrl->getLinkTargetByClass(array(get_class($this),
'ilpermissiongui'),
"perm")
524 $settings_ui = $this->survey_service->gui()->surveySettings($this->survey);
526 $form = $settings_ui->form(
"ilObjSurveyGUI");
527 if ($settings_ui->checkForm($form)) {
528 $settings_ui->saveForm($form);
532 $this->run_manager->clearCode();
534 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"settings_saved"),
true);
535 $this->
ctrl->redirect($this,
"properties");
538 $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"form_input_not_valid"));
539 $form->setValuesByPost();
545 $form = $this->survey_service
546 ->gui()->surveySettings($this->survey)->form(
"ilObjSurveyGUI");
553 if ($a_section ===
'settings') {
554 $this->tabs_gui->addSubTabTarget(
556 $this->
ctrl->getLinkTarget($this,
'properties')
560 if ($lti_settings->hasSettingsAccess()) {
561 $this->tabs_gui->addSubTabTarget(
563 $this->
ctrl->getLinkTargetByClass(ilLTIProviderObjectSettingGUI::class)
582 $ilTabs->activateTab(
"settings");
583 $ilTabs->activateSubTab(
'settings');
585 if ($this->
object->get360Mode()) {
586 $ilHelp->setScreenId(
"settings_360");
593 $this->tpl->setContent($a_form->getHTML());
598 $fields = array(
'login',
'firstname',
'lastname',
'email');
601 $auto->setSearchFields($fields);
602 $auto->setResultField(
'login');
603 $auto->enableFieldSearchableCheck(
true);
604 $auto->setMoreLinkAvailable(
true);
606 if ($this->edit_request->getFetchAll()) {
621 $form->setTarget(
"_top");
622 $form->setFormAction($this->
ctrl->getFormAction($this));
623 $form->setTitle($this->
lng->txt(
"import_svy"));
627 $fi->setRequired(
true);
631 $questionspools = $svy->getAvailableQuestionpools(
true,
true,
true);
634 $pools->
setOptions(array(
"" => $this->
lng->txt(
"dont_use_questionpool")) + $questionspools);
635 $pools->setRequired(
false);
636 $form->addItem($pools);
638 $form->addCommandButton(
"importSurvey", $this->
lng->txt(
"import"));
639 $form->addCommandButton(
"cancel", $this->
lng->txt(
"cancel"));
648 $new_type = $this->edit_request->getNewType();
653 $this->
lng->loadLanguageModule($new_type);
654 $this->
ctrl->setParameter($this,
"new_type", $new_type);
657 if ($form->checkInput()) {
659 $newObj->setType($new_type);
660 $newObj->setTitle(
"dummy");
661 $newObj->create(
true);
666 $this->log->debug(
"form->getInput(spl) = " . $form->getInput(
"spl"));
668 $error = $newObj->importObject($_FILES[
"importfile"], (
int) $form->getInput(
"spl"));
671 $this->tpl->setOnScreenMessage(
'failure',
$error);
675 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"object_imported"),
true);
677 "&baseClass=ilObjSurveyGUI");
681 $form->setValuesByPost();
697 $this->
ctrl->setCmd(
"showSummary");
698 $this->
ctrl->setCmdClass(
"ilinfoscreengui");
708 if (!$this->access_manager->canAccessInfoScreen()) {
711 $ilTabs->activateTab(
"info_short");
713 $info = $this->survey_service->gui()->infoScreen($this, $this->
toolbar);
715 $this->
ctrl->forwardCommand($info);
721 switch ($this->
ctrl->getCmd()) {
727 case "redirectQuestion":
731 case "checkEvaluationAccess":
732 case "evaluationdetails":
733 case "evaluationuser":
746 if ($this->edit_request->getQuestionId() > 0 &&
747 !$this->edit_request->getNewForSurvey()) {
750 $q_id = $this->edit_request->getQuestionId();
752 $this->
ctrl->setParameterByClass($q_type,
"q_id", $q_id);
755 $this->
ctrl->getLinkTargetByClass(array(
"ilSurveyEditorGUI", $q_type),
"editQuestion")
770 $main_tpl = $DIC->ui()->mainTemplate();
772 $request = $DIC->survey()->internal()->gui()->execution()->request();
773 $a_access_code =
$request->getAccessCode();
775 $ilAccess = $DIC->access();
776 $lng = $DIC->language();
777 $ctrl = $DIC->ctrl();
779 $t_arr = explode(
"_", $a_target);
781 if ($a_access_code ===
"" && isset($t_arr[1])) {
782 $a_access_code = $t_arr[1];
785 if ($a_access_code !==
'') {
786 $sess = $DIC->survey()->internal()->repo()
787 ->execution()->runSession();
794 if ($ilAccess->checkAccess(
"write",
"",
$ref_id)) {
800 if ($ilAccess->checkAccess(
"visible",
"",
$ref_id) ||
801 $ilAccess->checkAccess(
"read",
"",
$ref_id)) {
802 if ($ilAccess->checkAccess(
"read",
"",
$ref_id)) {
803 $domain_service = $DIC->survey()->internal()->domain();
804 $am = $domain_service->access(
$ref_id, $DIC->user()->getId());
806 $run_manager = $domain_service->execution()->run($survey, $DIC->user()->
getId());
807 if ($am->canAccessEvaluation()) {
816 $main_tpl->setOnScreenMessage(
'failure', sprintf(
817 $lng->
txt(
"msg_no_perm_read_item"),
830 $rtpl =
new ilTemplate(
"tpl.svy_view_user_results.html",
true,
true,
"Modules/Survey");
832 $show_titles = $this->
object->getShowQuestionTitles();
834 foreach ($this->
object->getSurveyPages() as $page) {
835 if (count($page) > 0) {
837 if (count($page) > 1) {
838 if ($page[0][
"questionblock_show_blocktitle"]) {
839 $rtpl->setVariable(
"BLOCK_TITLE", trim($page[0][
"questionblock_title"] ??
""));
844 foreach ($page as $question) {
845 $question_gui = $this->
object->getQuestionGUI($question[
"type_tag"], $question[
"question_id"]);
846 $rtpl->setCurrentBlock(
"question_bl");
849 if (strlen($question[
"heading"] ??
"")) {
850 $rtpl->setVariable(
"HEADING", trim($question[
"heading"] ??
""));
855 $question_gui->getPrintView(
857 (
bool) $question[
"questionblock_show_questiontext"],
858 $this->object->getId(),
859 $this->
object->loadWorkingData($question[
"question_id"], $a_active_id)
863 $rtpl->parseCurrentBlock();
866 $rtpl->setCurrentBlock(
"block_bl");
867 $rtpl->parseCurrentBlock();
883 $anonymous_code = $this->run_manager->getCode();
884 $active_id = $this->
object->getActiveID($ilUser->getId(), $anonymous_code, 0);
886 if (!$this->run_manager->hasFinished() ||
888 $this->
ctrl->redirect($this,
"infoScreen");
891 $ilTabs->clearTargets();
892 $ilTabs->setBackTarget(
893 $this->
lng->txt(
"btn_back"),
894 $this->
ctrl->getLinkTarget($this,
"infoScreen")
909 $show_titles = (bool) $this->
object->getShowQuestionTitles();
911 foreach ($this->
object->getSurveyPages() as $page) {
912 if (count($page) > 0) {
913 $res[] =
"\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
916 if (count($page) > 1) {
917 if ($page[0][
"questionblock_show_blocktitle"]) {
918 $res[$this->
lng->txt(
"questionblock")] = trim($page[0][
"questionblock_title"] ??
"") .
"\n";
926 foreach ($page as $question) {
927 $question_gui = $this->
object->getQuestionGUI($question[
"type_tag"], $question[
"question_id"]);
928 $question_parts = array();
931 if (strlen($question[
"heading"] ??
"")) {
932 $question_parts[$this->
lng->txt(
"heading")] = trim($question[
"heading"] ??
"");
936 $question_parts[$this->
lng->txt(
"title")] = trim($question[
"title"] ??
"");
939 if ($question[
"questionblock_show_questiontext"]) {
940 $question_parts[$this->
lng->txt(
"question")] = trim(strip_tags($question_gui->object->getQuestionText()));
943 $answers = $question_gui->getParsedAnswers(
944 $this->
object->loadWorkingData($question[
"question_id"], $a_active_id),
948 if (count($answers)) {
950 if (count($answers) > 1 ||
951 get_class($question_gui) ===
"SurveyTextQuestionGUI") {
956 foreach ($answers as $answer) {
958 if ($answer[
"textanswer"] ??
false) {
959 $text =
' ("' . $answer[
"textanswer"] .
'")';
961 if (!isset($answer[
"cols"])) {
962 if (isset($answer[
"title"])) {
963 $parts[] = $answer[
"title"] . $text;
964 } elseif (isset($answer[
"value"])) {
965 $parts[] = $answer[
"value"];
967 $parts[] = substr($text, 2, -1);
973 foreach ($answer[
"cols"] as $col) {
974 $tmp[] = $col[
"title"];
976 $parts[] = $answer[
"title"] .
": " . implode(
", ", $tmp) . $text;
979 $question_parts[$this->
lng->txt(
"answer")] =
980 ($multiline ?
"\n" :
"") . implode(
"\n",
$parts);
984 foreach ($question_parts as
$type => $value) {
985 $tmp[] =
$type .
": " . $value;
987 $page_res[] = implode(
"\n", $tmp);
990 $res[] = implode(
"\n\n-------------------------------\n\n", $page_res);
994 $res[] =
"\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
996 return implode(
"\n",
$res);
1005 $finished = $this->
object->getSurveyParticipants(array($a_active_id));
1006 $finished = array_pop($finished);
1010 $body .= $this->
lng->txt(
"svy_mail_own_results_body") .
"\n";
1011 $body .=
"\n" . $this->
lng->txt(
"obj_svy") .
": " . $this->
object->getTitle() .
"\n";
1012 $body .= ilLink::_getLink($this->
object->getRefId(),
"svy") .
"\n";
1013 $body .=
"\n" . $this->
lng->txt(
"survey_results_finished") .
": " . $finished .
"\n\n";
1015 if ($this->
object->hasMailOwnResults()) {
1016 $subject =
"svy_mail_own_results_subject";
1019 $subject =
"svy_mail_confirmation_subject";
1027 $mmail->From($this->senderFactory->system());
1028 $mmail->To($a_recipient);
1029 $mmail->Subject(sprintf($this->
lng->txt($subject), $this->
object->getTitle()),
true);
1030 $mmail->Body($body);
1038 $anonymous_code = $this->run_manager->getCode();
1039 $active_id = $this->
object->getActiveID($ilUser->getId(), $anonymous_code, 0);
1040 if (!$this->run_manager->hasFinished() ||
1042 $this->
ctrl->redirect($this,
"infoScreen");
1045 $recipient = $this->edit_request->getMail();
1047 $recipient = $ilUser->getEmail();
1050 $this->
ctrl->redirect($this,
"infoScreen");
1055 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"mail_sent"),
true);
1056 $this->
ctrl->redirect($this,
"infoScreen");
1063 string $a_rbac_permission,
1064 string $a_position_permission
1069 $a_position_permission,
1070 $this->
object->getRefId()
Class ilSurveyParticipantsGUI.
ILIAS Survey Mode FeatureConfig $feature_config
ilMailMimeSenderFactory $senderFactory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
static getLogger(string $a_component_id)
Get component logger.
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...
Class ilObjSurveyQuestionPool.
static is_email(string $a_email, ilMailRfc822AddressParserFactory $mailAddressParserFactory=null)
This preg-based function checks whether an e-mail address is formally valid.
GUI class for the workflow of copying objects.
ILIAS Survey Participants StatusManager $status_manager
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
__construct($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const EVALUATION_ACCESS_PARTICIPANTS
prepareOutput(bool $show_sub_objects=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
getDidacticTemplateVar(string $type)
Get didactic template setting from creation screen.
ILIAS Survey Execution ExecutionGUIRequest $execution_request
ILIAS Survey Execution RunManager $run_manager
checkRbacOrPositionPermissionAccess(string $rbac_perm, string $pos_perm, int $ref_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setParameterByClass(string $a_class, string $a_parameter, $a_value)
static _goto(string $a_target)
redirect script
ilNavigationHistory $nav_history
addSubTabs(string $a_section)
static _getQuestionType(int $question_id)
Returns the question type of a question with a given id.
loadLanguageModule(string $a_module)
Load language module.
static _getTitle(int $question_id)
Returns the question title of a question with a given id.
static checkAccess(int $a_ref_id, bool $a_allow_only_read=true)
check access to learning progress
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupObjId(int $ref_id)
setCreationMode(bool $mode=true)
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode...
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
Export User Interface Class.
addDidacticTemplateOptions(array &$a_options)
ilGlobalTemplateInterface $tpl
static _lookupTitle(int $obj_id)
setContent(string $a_html)
Sets content for standard template.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ServerRequestInterface $request
static getSalutation(int $a_usr_id, ?ilLanguage $a_language=null)
Survey execution graphical output.
Class ilObjectGUI Basic methods of all Output classes.
infoScreenObject()
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually...
getUserResultsTable(int $a_active_id)
ILIAS Survey Access AccessManager $access_manager
infoScreen()
show information screen
static _hasEvaluationAccess(int $a_obj_id, int $user_id)
Last visited history for repository items.
evaluationObject()
Redirects the evaluation object call to the ilSurveyEvaluationGUI class Coming from ListGUI...
setCustomRolesForSelection(array $a_roles)
Set custom roles for mapping to LTI roles.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
static redirect(string $a_script)
afterSave(ilObject $new_object)
putObjectInTree(ilObject $obj, int $parent_node_id=null)
Add object to tree at given position.
propertiesObject(ilPropertyFormGUI $a_form=null)
Display the properties form.
const LP_CONTEXT_REPOSITORY
addItem(string $a_title, string $a_link, string $a_frame="", int $a_ref_id=0, ?string $type=null)
initImportForm(string $new_type)
ILIAS Survey Editing EditingGUIRequest $edit_request
sendUserResultsMail(int $a_active_id, string $a_recipient)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
Participants InvitationsManager $invitation_manager
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getUserResultsPlain(int $a_active_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS Survey InternalService $survey_service
addHeaderAction()
Add header action menu.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
static _getInstallationSignature()
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
checkRbacOrPositionPermission(string $a_rbac_permission, string $a_position_permission)