ILIAS
eassessment Revision 61809
|
Class ilObjSurveyGUI. More...
Public Member Functions | |
ilObjSurveyGUI () | |
Constructor public. | |
backToRepositoryObject () | |
executeCommand () | |
execute command | |
saveObject () | |
save object public | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
cancelPropertiesObject () | |
Cancel actions in the properties form. | |
handleWriteAccess () | |
Checks for write access and returns to the parent object. | |
savePropertiesObject () | |
Save the survey properties. | |
propertiesObject ($checkonly=FALSE) | |
Display and fill the properties form of the test. | |
removeQuestionsObject () | |
Remove questions from the survey. | |
insertQuestionsObject () | |
Insert questions into the survey. | |
insertQuestionblocksObject () | |
Insert question blocks into the survey. | |
changeDatatypeObject () | |
Change the object type in the question browser. | |
filterQuestionblockBrowserObject () | |
Filter the questionblock browser. | |
resetfilterQuestionblockBrowserObject () | |
Reset the questionblock browser filter. | |
browseForQuestionblocksObject ($arrFilter=null) | |
list questions of question pool | |
filterQuestionBrowserObject () | |
Filter the question browser. | |
resetfilterQuestionBrowserObject () | |
Reset the question browser filter. | |
browseForQuestionsObject ($arrFilter=null) | |
list questions of question pool | |
removeQuestionsForm ($checked_questions, $checked_questionblocks) | |
Creates a confirmation form to remove questions from the survey. | |
defineQuestionblock ($questionblock_id="") | |
Displays the definition form for a question block. | |
createQuestionObject () | |
Creates a form to select a survey question pool for storage. | |
cancelCreateQuestionObject () | |
Cancel the creation of a new questions in a survey. | |
executeCreateQuestionObject () | |
Execute the creation of a new questions in a survey. | |
addHeadingObject ($checkonly=false, $question_id="") | |
Creates a form to add a heading to a survey. | |
confirmInsertQuestionObject () | |
Insert questions or question blocks into the survey after confirmation. | |
cancelInsertQuestionObject () | |
Cancels insert questions or question blocks into the survey. | |
saveHeadingObject () | |
Saves an edited heading in the survey questions list. | |
cancelHeadingObject () | |
Cancels saving a heading in the survey questions list. | |
confirmRemoveHeadingObject () | |
Remove a survey heading after confirmation. | |
cancelRemoveHeadingObject () | |
Cancels the removal of survey headings. | |
confirmRemoveHeadingForm () | |
Displays a confirmation form to delete a survey heading. | |
confirmRemoveQuestionsObject () | |
Remove questions from survey after confirmation. | |
cancelRemoveQuestionsObject () | |
Cancel remove questions from survey after confirmation. | |
defineQuestionblockObject () | |
Cancel remove questions from survey after confirmation. | |
saveDefineQuestionblockObject () | |
Confirm define a question block. | |
unfoldQuestionblockObject () | |
Unfold a question block. | |
cancelDefineQuestionblockObject () | |
Cancel define a question block. | |
moveQuestionsObject () | |
Move questions. | |
insertQuestions ($insert_mode) | |
Insert questions from move clipboard. | |
insertQuestionsBeforeObject () | |
Insert questions before selection. | |
insertQuestionsAfterObject () | |
Insert questions after selection. | |
saveObligatoryObject () | |
Save obligatory states. | |
questionsObject () | |
Creates the questions form for the survey object. | |
evaluationObject () | |
Redirects the evaluation object call to the ilSurveyEvaluationGUI class. | |
disinviteUserGroupObject () | |
Disinvite users or groups from a survey. | |
inviteUserGroupObject () | |
Invite users or groups to a survey. | |
saveInvitationStatusObject () | |
Saves the status of the invitation tab. | |
inviteObject () | |
Creates the output for user/group invitation to a survey. | |
deleteAllUserDataObject () | |
Creates a confirmation form for delete all user data. | |
confirmDeleteAllUserDataObject () | |
Deletes all user data of the survey after confirmation. | |
cancelDeleteAllUserDataObject () | |
Cancels delete of all user data in maintenance. | |
confirmDeleteSelectedUserDataObject () | |
Deletes all user data for the test object. | |
cancelDeleteSelectedUserDataObject () | |
Cancels the deletion of all user data for the test object. | |
deleteSingleUserResultsObject () | |
Asks for a confirmation to delete selected user data of the test object. | |
maintenanceObject () | |
Participants maintenance. | |
importObject () | |
display dialogue for importing tests | |
uploadObject ($redirect=true) | |
display status information or report errors messages in case of error | |
createObject () | |
form for new content object creation | |
importFileObject () | |
form for new survey object import | |
exportObject () | |
createExportFileObject () | |
create export file | |
downloadExportFileObject () | |
download export file | |
confirmDeleteExportFileObject () | |
confirmation screen for export file deletion | |
cancelDeleteExportFileObject () | |
cancel deletion of export files | |
deleteExportFileObject () | |
delete export files | |
setCodeLanguageObject () | |
Change survey language for direct access URL's. | |
codesObject () | |
Display the survey access codes tab. | |
deleteCodesObject () | |
Delete a list of survey codes. | |
exportCodesObject () | |
Exports a list of survey codes. | |
exportAllCodesObject () | |
Exports all survey codes. | |
createSurveyCodesObject () | |
Create access codes for the survey. | |
codesMailObject ($checkonly=false) | |
Sending access codes via email. | |
insertSavedMessageObject () | |
deleteSavedMessageObject () | |
mailCodesObject () | |
sendCodesMailObject () | |
cancelCodesMailObject () | |
deleteInternalMailRecipientObject () | |
importExternalRecipientsFromDatasetObject () | |
importExternalRecipientsFromTextObject () | |
importExternalRecipientsFromFileObject () | |
importExternalMailRecipientsObject ($checkonly=false, $formindex=-1) | |
constraintsAddObject () | |
Add a precondition for a survey question or question block. | |
constraintStep1Object () | |
Handles the first step of the precondition add action. | |
constraintStep2Object () | |
Handles the second step of the precondition add action. | |
constraintStep3Object () | |
Handles the third step of the precondition add action. | |
constraintForm ($step, $postvalues, &$survey_questions, $questions=FALSE) | |
deleteConstraintsObject () | |
Delete constraints of a survey. | |
createConstraintsObject () | |
editPreconditionObject () | |
constraintsObject () | |
Administration page for survey constraints. | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
setNewTemplate () | |
infoScreen () | |
show information screen | |
printViewObject () | |
Creates a print view of the survey questions. | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
questionsSubtabs ($a_cmd) | |
Set the subtabs for the questions tab. | |
setCodesSubtabs () | |
Set the tabs for the access codes section. | |
setEvalSubtabs () | |
Set the tabs for the evaluation output. | |
setBrowseForQuestionsSubtabs () | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
_goto ($a_target, $a_access_code="") | |
redirect script | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. |
Private Member Functions | |
createQuestionPool ($name="dummy") | |
Creates a new questionpool and returns the reference id. |
Additional Inherited Members | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
afterUpdate () | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showClipboardTable ($a_result_set, $a_from="") | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
Class ilObjSurveyGUI.
ilObjSurveyGUI: ilSurveyEvaluationGUI ilObjSurveyGUI: ilSurveyExecutionGUI ilObjSurveyGUI: ilMDEditorGUI, ilPermissionGUI ilObjSurveyGUI: ilInfoScreenGUI, ilObjectCopyGUI ilObjSurveyGUI: ilRepositorySearchGUI
Definition at line 44 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::_goto | ( | $a_target, | |
$a_access_code = "" |
|||
) |
redirect script
string | $a_target |
Definition at line 3940 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjSurveyGUI::addHeadingObject | ( | $checkonly = false , |
|
$question_id = "" |
|||
) |
Creates a form to add a heading to a survey.
integer | $question_id | The id of the question directly after the heading. If the id is given, an existing heading will be edited public |
Definition at line 965 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $errors, ilObjAdvancedEditing\_getUsedHTMLTags(), questionsSubtabs(), ilSelectInputGUI\setOptions(), and ilTextAreaInputGUI\setValue().
Referenced by questionsObject(), and saveHeadingObject().
ilObjSurveyGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3610 of file class.ilObjSurveyGUI.php.
References $_GET.
ilObjSurveyGUI::backToRepositoryObject | ( | ) |
Definition at line 63 of file class.ilObjSurveyGUI.php.
References $path, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjSurveyGUI::browseForQuestionblocksObject | ( | $arrFilter = null | ) |
list questions of question pool
Definition at line 670 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, setBrowseForQuestionsSubtabs(), and ilSurveyQuestionblockbrowserTableGUI\setEditable().
ilObjSurveyGUI::browseForQuestionsObject | ( | $arrFilter = null | ) |
list questions of question pool
Definition at line 725 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, setBrowseForQuestionsSubtabs(), and ilSurveyQuestionbrowserTableGUI\setEditable().
ilObjSurveyGUI::cancelCodesMailObject | ( | ) |
Definition at line 2606 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelCreateQuestionObject | ( | ) |
Cancel the creation of a new questions in a survey.
private
Definition at line 905 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDefineQuestionblockObject | ( | ) |
Cancel define a question block.
Definition at line 1283 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelDeleteAllUserDataObject | ( | ) |
Cancels delete of all user data in maintenance.
Definition at line 1934 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDeleteExportFileObject | ( | ) |
cancel deletion of export files
Definition at line 2319 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelDeleteSelectedUserDataObject | ( | ) |
Cancels the deletion of all user data for the test object.
Definition at line 1952 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelHeadingObject | ( | ) |
Cancels saving a heading in the survey questions list.
Cancels saving a heading in the survey questions list
public
Definition at line 1100 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelInsertQuestionObject | ( | ) |
Cancels insert questions or question blocks into the survey.
public
Definition at line 1065 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 197 of file class.ilObjSurveyGUI.php.
References $_GET, and ilUtil\redirect().
ilObjSurveyGUI::cancelPropertiesObject | ( | ) |
Cancel actions in the properties form.
Cancel actions in the properties form
private
Definition at line 209 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelRemoveHeadingObject | ( | ) |
Cancels the removal of survey headings.
Cancels the removal of survey headings
public
Definition at line 1125 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelRemoveQuestionsObject | ( | ) |
Cancel remove questions from survey after confirmation.
Cancel remove questions from survey after confirmation
private
Definition at line 1184 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::changeDatatypeObject | ( | ) |
Change the object type in the question browser.
Definition at line 629 of file class.ilObjSurveyGUI.php.
References $_POST.
ilObjSurveyGUI::codesMailObject | ( | $checkonly = false | ) |
Sending access codes via email.
Definition at line 2472 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$data, $errors, handleWriteAccess(), and setCodesSubtabs().
ilObjSurveyGUI::codesObject | ( | ) |
Display the survey access codes tab.
Definition at line 2367 of file class.ilObjSurveyGUI.php.
References $lang, handleWriteAccess(), ilUtil\sendInfo(), setCodesSubtabs(), and ilSelectInputGUI\setOptions().
ilObjSurveyGUI::confirmDeleteAllUserDataObject | ( | ) |
Deletes all user data of the survey after confirmation.
Definition at line 1924 of file class.ilObjSurveyGUI.php.
References ilUtil\sendSuccess().
ilObjSurveyGUI::confirmDeleteExportFileObject | ( | ) |
confirmation screen for export file deletion
Definition at line 2280 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjectGUI\$data, handleWriteAccess(), IL_CAL_DATETIME, IL_CAL_UNIX, ilUtil\sendFailure(), and ilUtil\sendQuestion().
ilObjSurveyGUI::confirmDeleteSelectedUserDataObject | ( | ) |
Deletes all user data for the test object.
Definition at line 1942 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::confirmInsertQuestionObject | ( | ) |
Insert questions or question blocks into the survey after confirmation.
public
Definition at line 1040 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::confirmRemoveHeadingForm | ( | ) |
Displays a confirmation form to delete a survey heading.
Displays a confirmation form to delete a survey heading
public
Definition at line 1137 of file class.ilObjSurveyGUI.php.
References $_GET, and ilUtil\sendQuestion().
Referenced by questionsObject().
ilObjSurveyGUI::confirmRemoveHeadingObject | ( | ) |
Remove a survey heading after confirmation.
Remove a survey heading after confirmation
public
Definition at line 1112 of file class.ilObjSurveyGUI.php.
References $_POST.
ilObjSurveyGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from survey after confirmation.
Remove questions from survey after confirmation
private
Definition at line 1156 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::constraintForm | ( | $step, | |
$postvalues, | |||
& | $survey_questions, | ||
$questions = FALSE |
|||
) |
Definition at line 3014 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, $title, SurveyQuestion\_getQuestionTypeName(), SurveyQuestion\_includeClass(), ilRadioGroupInputGUI\addOption(), and ilSelectInputGUI\setOptions().
Referenced by constraintStep1Object(), constraintStep2Object(), and constraintStep3Object().
ilObjSurveyGUI::constraintsAddObject | ( | ) |
Add a precondition for a survey question or question block.
Definition at line 2908 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep3Object(), and ilUtil\sendFailure().
ilObjSurveyGUI::constraintsObject | ( | ) |
Administration page for survey constraints.
Definition at line 3153 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, $title, $type, constraintStep1Object(), ilUtil\getImagePath(), handleWriteAccess(), and ilUtil\sendInfo().
ilObjSurveyGUI::constraintStep1Object | ( | ) |
Handles the first step of the precondition add action.
Definition at line 2948 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, constraintForm(), and ilUtil\sendInfo().
Referenced by constraintsObject(), and createConstraintsObject().
ilObjSurveyGUI::constraintStep2Object | ( | ) |
Handles the second step of the precondition add action.
Definition at line 2980 of file class.ilObjSurveyGUI.php.
References $_POST, and constraintForm().
ilObjSurveyGUI::constraintStep3Object | ( | ) |
Handles the third step of the precondition add action.
Definition at line 2991 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, and constraintForm().
Referenced by constraintsAddObject().
ilObjSurveyGUI::createConstraintsObject | ( | ) |
Definition at line 3125 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep1Object(), and ilUtil\sendInfo().
ilObjSurveyGUI::createExportFileObject | ( | ) |
create export file
Definition at line 2244 of file class.ilObjSurveyGUI.php.
References handleWriteAccess().
ilObjSurveyGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 2112 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$data, ilFrameTargetInfo\_getFrame(), ilObjectGUI\fillCloneTemplate(), ilUtil\getImagePath(), ilObjectGUI\getTemplateFile(), and ilUtil\prepareFormOutput().
Referenced by importFileObject().
ilObjSurveyGUI::createQuestionObject | ( | ) |
Creates a form to select a survey question pool for storage.
public
Definition at line 867 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, ilObjectGUI\$tpl, and questionsSubtabs().
|
private |
Creates a new questionpool and returns the reference id.
Definition at line 941 of file class.ilObjSurveyGUI.php.
References $name, and ilObjectGUI\$tree.
Referenced by executeCreateQuestionObject().
ilObjSurveyGUI::createSurveyCodesObject | ( | ) |
Create access codes for the survey.
Definition at line 2455 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::defineQuestionblock | ( | $questionblock_id = "" | ) |
Displays the definition form for a question block.
integer | $questionblock_id | The database id of the questionblock to edit an existing questionblock public |
Definition at line 816 of file class.ilObjSurveyGUI.php.
References $_POST, questionsSubtabs(), and ilUtil\sendInfo().
Referenced by defineQuestionblockObject(), and questionsObject().
ilObjSurveyGUI::defineQuestionblockObject | ( | ) |
Cancel remove questions from survey after confirmation.
Cancel remove questions from survey after confirmation
private
Definition at line 1196 of file class.ilObjSurveyGUI.php.
References $_POST, defineQuestionblock(), and ilUtil\sendInfo().
Referenced by saveDefineQuestionblockObject().
ilObjSurveyGUI::deleteAllUserDataObject | ( | ) |
Creates a confirmation form for delete all user data.
Definition at line 1910 of file class.ilObjSurveyGUI.php.
References ilUtil\sendQuestion().
ilObjSurveyGUI::deleteCodesObject | ( | ) |
Delete a list of survey codes.
Definition at line 2409 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteConstraintsObject | ( | ) |
Delete constraints of a survey.
Definition at line 3110 of file class.ilObjSurveyGUI.php.
References $_POST, and $_SESSION.
ilObjSurveyGUI::deleteExportFileObject | ( | ) |
delete export files
Definition at line 2329 of file class.ilObjSurveyGUI.php.
References $_POST, $file, ilUtil\delDir(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteInternalMailRecipientObject | ( | ) |
Definition at line 2611 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteSavedMessageObject | ( | ) |
Definition at line 2526 of file class.ilObjSurveyGUI.php.
References $ilLog, handleWriteAccess(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and setCodesSubtabs().
ilObjSurveyGUI::deleteSingleUserResultsObject | ( | ) |
Asks for a confirmation to delete selected user data of the test object.
Definition at line 1961 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjectGUI\$data, $total, handleWriteAccess(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjSurveyGUI::disinviteUserGroupObject | ( | ) |
Disinvite users or groups from a survey.
Definition at line 1766 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::downloadExportFileObject | ( | ) |
download export file
Definition at line 2256 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\deliverFile(), and ilUtil\sendFailure().
ilObjSurveyGUI::editPreconditionObject | ( | ) |
Definition at line 3142 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::evaluationObject | ( | ) |
Redirects the evaluation object call to the ilSurveyEvaluationGUI class.
Redirects the evaluation object call to the ilSurveyEvaluationGUI class
private
Definition at line 1755 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 73 of file class.ilObjSurveyGUI.php.
References $_GET, $cmd, $ilCtrl, ilObjectGUI\$ilias, $ret, ilMDEditorGUI\addObserver(), ilObjectGUI\getCreationMode(), ilUtil\getStyleSheetLocation(), infoScreen(), and ilObjectGUI\prepareOutput().
ilObjSurveyGUI::executeCreateQuestionObject | ( | ) |
Execute the creation of a new questions in a survey.
private
Definition at line 915 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, ilObjectGUI\$ref_id, createQuestionPool(), ilUtil\redirect(), and ilUtil\sendFailure().
ilObjSurveyGUI::exportAllCodesObject | ( | ) |
Exports all survey codes.
Definition at line 2446 of file class.ilObjSurveyGUI.php.
References ilUtil\deliverData(), and ilUtil\getASCIIFilename().
ilObjSurveyGUI::exportCodesObject | ( | ) |
Exports a list of survey codes.
Definition at line 2429 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\deliverData(), ilUtil\getASCIIFilename(), and ilUtil\sendFailure().
ilObjSurveyGUI::exportObject | ( | ) |
Definition at line 2214 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$data, handleWriteAccess(), IL_CAL_DATETIME, and IL_CAL_UNIX.
ilObjSurveyGUI::filterQuestionblockBrowserObject | ( | ) |
Filter the questionblock browser.
Definition at line 648 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::filterQuestionBrowserObject | ( | ) |
Filter the question browser.
Definition at line 703 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Reimplemented from ilObjectGUI.
Definition at line 3774 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjSurveyAccess\_hasEvaluationAccess(), and setEvalSubtabs().
ilObjSurveyGUI::handleWriteAccess | ( | ) |
Checks for write access and returns to the parent object.
Checks for write access and returns to the parent object
public
Definition at line 221 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
Referenced by codesMailObject(), codesObject(), confirmDeleteExportFileObject(), constraintsObject(), createExportFileObject(), deleteSavedMessageObject(), deleteSingleUserResultsObject(), exportObject(), importExternalMailRecipientsObject(), insertSavedMessageObject(), mailCodesObject(), maintenanceObject(), questionsObject(), and sendCodesMailObject().
ilObjSurveyGUI::ilObjSurveyGUI | ( | ) |
Constructor public.
Definition at line 50 of file class.ilObjSurveyGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjSurveyGUI::importExternalMailRecipientsObject | ( | $checkonly = false , |
|
$formindex = -1 |
|||
) |
Definition at line 2768 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, $errors, handleWriteAccess(), setCodesSubtabs(), ilFormPropertyGUI\setInfo(), and ilTextAreaInputGUI\setValue().
Referenced by importExternalRecipientsFromDatasetObject(), importExternalRecipientsFromFileObject(), and importExternalRecipientsFromTextObject().
ilObjSurveyGUI::importExternalRecipientsFromDatasetObject | ( | ) |
Definition at line 2626 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjectGUI\$data, importExternalMailRecipientsObject(), and ilUtil\sendSuccess().
ilObjSurveyGUI::importExternalRecipientsFromFileObject | ( | ) |
Definition at line 2709 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$data, $reader, $row, importExternalMailRecipientsObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::importExternalRecipientsFromTextObject | ( | ) |
Definition at line 2653 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, ilObjectGUI\$data, $row, importExternalMailRecipientsObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::importFileObject | ( | ) |
form for new survey object import
Definition at line 2187 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjectGUI\$ref_id, createObject(), ilUtil\redirect(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and uploadObject().
ilObjSurveyGUI::importObject | ( | ) |
display dialogue for importing tests
public
Definition at line 2027 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\getTemplateFile().
Referenced by uploadObject().
ilObjSurveyGUI::infoScreen | ( | ) |
show information screen
Definition at line 3334 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, ilObjSurveyAccess\_hasEvaluationAccess(), ANONYMIZE_FREEACCESS, ANONYMIZE_OFF, ANONYMIZE_ON, and ilUtil\sendInfo().
Referenced by executeCommand(), and infoScreenObject().
ilObjSurveyGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 3314 of file class.ilObjSurveyGUI.php.
References infoScreen().
ilObjSurveyGUI::insertQuestionblocksObject | ( | ) |
Insert question blocks into the survey.
Definition at line 602 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::insertQuestions | ( | $insert_mode | ) |
Insert questions from move clipboard.
Definition at line 1326 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilObjSurveyGUI::insertQuestionsAfterObject | ( | ) |
Insert questions after selection.
Definition at line 1384 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsBeforeObject | ( | ) |
Insert questions before selection.
Definition at line 1376 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsObject | ( | ) |
Insert questions into the survey.
Definition at line 575 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::insertSavedMessageObject | ( | ) |
Definition at line 2496 of file class.ilObjSurveyGUI.php.
References $ilLog, handleWriteAccess(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and setCodesSubtabs().
ilObjSurveyGUI::inviteObject | ( | ) |
Creates the output for user/group invitation to a survey.
Definition at line 1835 of file class.ilObjSurveyGUI.php.
References $path, ilObjectGUI\getReturnLocation(), ilUtil\redirect(), ilUtil\sendInfo(), ilFormPropertyGUI\setInfo(), and STATUS_OFFLINE.
ilObjSurveyGUI::inviteUserGroupObject | ( | ) |
Invite users or groups to a survey.
Definition at line 1783 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::mailCodesObject | ( | ) |
Definition at line 2556 of file class.ilObjSurveyGUI.php.
References $_POST, handleWriteAccess(), and setCodesSubtabs().
ilObjSurveyGUI::maintenanceObject | ( | ) |
Participants maintenance.
Definition at line 1996 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, $total, and handleWriteAccess().
ilObjSurveyGUI::moveQuestionsObject | ( | ) |
Move questions.
Definition at line 1292 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, questionsObject(), and ilUtil\sendInfo().
ilObjSurveyGUI::printViewObject | ( | ) |
Creates a print view of the survey questions.
public
Definition at line 3518 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$ilias, ilUtil\getASCIIFilename(), ilUtil\getHtmlPath(), ilUtil\getImagePath(), questionsSubtabs(), and ilHTMLToPDFTransformer\transformerAvailable().
ilObjSurveyGUI::propertiesObject | ( | $checkonly = FALSE | ) |
Display and fill the properties form of the test.
public
Definition at line 313 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $errors, $results, ilObjAdvancedEditing\_getUsedHTMLTags(), EVALUATION_ACCESS_ALL, EVALUATION_ACCESS_OFF, EVALUATION_ACCESS_PARTICIPANTS, IL_CAL_DATE, IL_CAL_UNIX, ilUtil\sendFailure(), ilFormPropertyGUI\setDisabled(), ilFormPropertyGUI\setInfo(), ilCheckboxInputGUI\setOptionTitle(), ilTextInputGUI\setSize(), ilTextInputGUI\setValue(), ilCheckboxInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by savePropertiesObject().
ilObjSurveyGUI::questionsObject | ( | ) |
Creates the questions form for the survey object.
Definition at line 1410 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, $path, ilObject\_getAllReferences(), ilObjSurveyQuestionPool\_getQuestiontypes(), addHeadingObject(), confirmRemoveHeadingForm(), defineQuestionblock(), ilUtil\getImagePath(), ilObjectGUI\getReturnLocation(), handleWriteAccess(), questionsSubtabs(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendQuestion(), and ilUtil\sendSuccess().
Referenced by moveQuestionsObject().
ilObjSurveyGUI::questionsSubtabs | ( | $a_cmd | ) |
Set the subtabs for the questions tab.
Set the subtabs for the questions tab
private
Definition at line 3650 of file class.ilObjSurveyGUI.php.
Referenced by addHeadingObject(), createQuestionObject(), defineQuestionblock(), printViewObject(), and questionsObject().
ilObjSurveyGUI::removeQuestionsForm | ( | $checked_questions, | |
$checked_questionblocks | |||
) |
Creates a confirmation form to remove questions from the survey.
array | $checked_questions | An array containing the id's of the questions to be removed |
array | $checked_questionblocks | An array containing the id's of the question blocks to be removed public |
Definition at line 762 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$data, SurveyQuestion\_getQuestionTypeName(), and ilUtil\sendInfo().
Referenced by removeQuestionsObject().
ilObjSurveyGUI::removeQuestionsObject | ( | ) |
Remove questions from the survey.
Remove questions from the survey
private
Definition at line 544 of file class.ilObjSurveyGUI.php.
References $_POST, removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjSurveyGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Reset the questionblock browser filter.
Definition at line 659 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::resetfilterQuestionBrowserObject | ( | ) |
Reset the question browser filter.
Definition at line 714 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::saveDefineQuestionblockObject | ( | ) |
Confirm define a question block.
Definition at line 1221 of file class.ilObjSurveyGUI.php.
References $_POST, defineQuestionblockObject(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjSurveyGUI::saveHeadingObject | ( | ) |
Saves an edited heading in the survey questions list.
Saves an edited heading in the survey questions list
public
Definition at line 1077 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), and ilUtil\stripSlashes().
ilObjSurveyGUI::saveInvitationStatusObject | ( | ) |
Saves the status of the invitation tab.
Definition at line 1809 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 174 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, ilUtil\redirect(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::saveObligatoryObject | ( | ) |
Save obligatory states.
Definition at line 1392 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::savePropertiesObject | ( | ) |
Save the survey properties.
Save the survey properties
private
Definition at line 239 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, ANONYMIZE_FREEACCESS, propertiesObject(), and ilUtil\sendSuccess().
ilObjSurveyGUI::sendCodesMailObject | ( | ) |
Definition at line 2571 of file class.ilObjSurveyGUI.php.
References $_POST, $title, handleWriteAccess(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and setCodesSubtabs().
ilObjSurveyGUI::setBrowseForQuestionsSubtabs | ( | ) |
Definition at line 3753 of file class.ilObjSurveyGUI.php.
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilObjSurveyGUI::setCodeLanguageObject | ( | ) |
Change survey language for direct access URL's.
Definition at line 2353 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::setCodesSubtabs | ( | ) |
Set the tabs for the access codes section.
private
Definition at line 3666 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$data.
Referenced by codesMailObject(), codesObject(), deleteSavedMessageObject(), importExternalMailRecipientsObject(), insertSavedMessageObject(), mailCodesObject(), and sendCodesMailObject().
ilObjSurveyGUI::setEvalSubtabs | ( | ) |
Set the tabs for the evaluation output.
private
Definition at line 3707 of file class.ilObjSurveyGUI.php.
Referenced by getTabs().
ilObjSurveyGUI::setNewTemplate | ( | ) |
Definition at line 3321 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$tpl, and ilUtil\getStyleSheetLocation().
ilObjSurveyGUI::unfoldQuestionblockObject | ( | ) |
Unfold a question block.
Definition at line 1258 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 2064 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $error, $redirect, ilObjectGUI\$ref_id, ilObjectGUI\getReturnLocation(), importObject(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by importFileObject().