ILIAS
Release_4_1_x_branch Revision 61804
|
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 3843 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 917 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 3543 of file class.ilObjSurveyGUI.php.
References $_GET.
ilObjSurveyGUI::backToRepositoryObject | ( | ) |
Definition at line 62 of file class.ilObjSurveyGUI.php.
References $path, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjSurveyGUI::browseForQuestionblocksObject | ( | $arrFilter = null | ) |
list questions of question pool
Definition at line 622 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 677 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, setBrowseForQuestionsSubtabs(), and ilSurveyQuestionbrowserTableGUI\setEditable().
ilObjSurveyGUI::cancelCodesMailObject | ( | ) |
Definition at line 2558 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelCreateQuestionObject | ( | ) |
Cancel the creation of a new questions in a survey.
private
Definition at line 857 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDefineQuestionblockObject | ( | ) |
Cancel define a question block.
Definition at line 1235 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelDeleteAllUserDataObject | ( | ) |
Cancels delete of all user data in maintenance.
Definition at line 1886 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDeleteExportFileObject | ( | ) |
cancel deletion of export files
Definition at line 2271 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelDeleteSelectedUserDataObject | ( | ) |
Cancels the deletion of all user data for the test object.
Definition at line 1904 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 1052 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelInsertQuestionObject | ( | ) |
Cancels insert questions or question blocks into the survey.
public
Definition at line 1017 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 196 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 208 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelRemoveHeadingObject | ( | ) |
Cancels the removal of survey headings.
Cancels the removal of survey headings
public
Definition at line 1077 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 1136 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::changeDatatypeObject | ( | ) |
Change the object type in the question browser.
Definition at line 581 of file class.ilObjSurveyGUI.php.
References $_POST.
ilObjSurveyGUI::codesMailObject | ( | $checkonly = false | ) |
Sending access codes via email.
Definition at line 2424 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$data, $errors, handleWriteAccess(), and setCodesSubtabs().
ilObjSurveyGUI::codesObject | ( | ) |
Display the survey access codes tab.
Definition at line 2319 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 1876 of file class.ilObjSurveyGUI.php.
References ilUtil\sendSuccess().
ilObjSurveyGUI::confirmDeleteExportFileObject | ( | ) |
confirmation screen for export file deletion
Definition at line 2232 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 1894 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 992 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 1089 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 1064 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 1108 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::constraintForm | ( | $step, | |
$postvalues, | |||
& | $survey_questions, | ||
$questions = FALSE |
|||
) |
Definition at line 2966 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 2860 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep3Object(), and ilUtil\sendFailure().
ilObjSurveyGUI::constraintsObject | ( | ) |
Administration page for survey constraints.
Definition at line 3105 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, $title, constraintStep1Object(), ilUtil\getImagePath(), handleWriteAccess(), and ilUtil\sendInfo().
ilObjSurveyGUI::constraintStep1Object | ( | ) |
Handles the first step of the precondition add action.
Definition at line 2900 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 2932 of file class.ilObjSurveyGUI.php.
References $_POST, and constraintForm().
ilObjSurveyGUI::constraintStep3Object | ( | ) |
Handles the third step of the precondition add action.
Definition at line 2943 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, and constraintForm().
Referenced by constraintsAddObject().
ilObjSurveyGUI::createConstraintsObject | ( | ) |
Definition at line 3077 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep1Object(), and ilUtil\sendInfo().
ilObjSurveyGUI::createExportFileObject | ( | ) |
create export file
Definition at line 2196 of file class.ilObjSurveyGUI.php.
References handleWriteAccess().
ilObjSurveyGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 2064 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 819 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 893 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$tree.
Referenced by executeCreateQuestionObject().
ilObjSurveyGUI::createSurveyCodesObject | ( | ) |
Create access codes for the survey.
Definition at line 2407 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 768 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 1148 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 1862 of file class.ilObjSurveyGUI.php.
References ilUtil\sendQuestion().
ilObjSurveyGUI::deleteCodesObject | ( | ) |
Delete a list of survey codes.
Definition at line 2361 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteConstraintsObject | ( | ) |
Delete constraints of a survey.
Definition at line 3062 of file class.ilObjSurveyGUI.php.
References $_POST, and $_SESSION.
ilObjSurveyGUI::deleteExportFileObject | ( | ) |
delete export files
Definition at line 2281 of file class.ilObjSurveyGUI.php.
References $_POST, $file, ilUtil\delDir(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteInternalMailRecipientObject | ( | ) |
Definition at line 2563 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteSavedMessageObject | ( | ) |
Definition at line 2478 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 1913 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 1718 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::downloadExportFileObject | ( | ) |
download export file
Definition at line 2208 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\deliverFile(), and ilUtil\sendFailure().
ilObjSurveyGUI::editPreconditionObject | ( | ) |
Definition at line 3094 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 1707 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 72 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 867 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 2398 of file class.ilObjSurveyGUI.php.
References ilUtil\deliverData(), and ilUtil\getASCIIFilename().
ilObjSurveyGUI::exportCodesObject | ( | ) |
Exports a list of survey codes.
Definition at line 2381 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\deliverData(), ilUtil\getASCIIFilename(), and ilUtil\sendFailure().
ilObjSurveyGUI::exportObject | ( | ) |
Definition at line 2166 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 600 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::filterQuestionBrowserObject | ( | ) |
Filter the question browser.
Definition at line 655 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 3691 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 220 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 2720 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 2578 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjectGUI\$data, importExternalMailRecipientsObject(), and ilUtil\sendSuccess().
ilObjSurveyGUI::importExternalRecipientsFromFileObject | ( | ) |
Definition at line 2661 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$data, $reader, $row, importExternalMailRecipientsObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::importExternalRecipientsFromTextObject | ( | ) |
Definition at line 2605 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 2139 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 1979 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\getTemplateFile().
Referenced by uploadObject().
ilObjSurveyGUI::infoScreen | ( | ) |
show information screen
Definition at line 3286 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 3266 of file class.ilObjSurveyGUI.php.
References infoScreen().
ilObjSurveyGUI::insertQuestionblocksObject | ( | ) |
Insert question blocks into the survey.
Definition at line 554 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::insertQuestions | ( | $insert_mode | ) |
Insert questions from move clipboard.
Definition at line 1278 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 1336 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsBeforeObject | ( | ) |
Insert questions before selection.
Definition at line 1328 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsObject | ( | ) |
Insert questions into the survey.
Definition at line 527 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::insertSavedMessageObject | ( | ) |
Definition at line 2448 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 1787 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 1735 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::mailCodesObject | ( | ) |
Definition at line 2508 of file class.ilObjSurveyGUI.php.
References $_POST, handleWriteAccess(), and setCodesSubtabs().
ilObjSurveyGUI::maintenanceObject | ( | ) |
Participants maintenance.
Definition at line 1948 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, $total, and handleWriteAccess().
ilObjSurveyGUI::moveQuestionsObject | ( | ) |
Move questions.
Definition at line 1244 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 3470 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$ilias, ilUtil\getHtmlPath(), ilUtil\getImagePath(), ilRPCServerSettings\getInstance(), and questionsSubtabs().
ilObjSurveyGUI::propertiesObject | ( | $checkonly = FALSE | ) |
Display and fill the properties form of the test.
public
Definition at line 302 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\setValue(), ilCheckboxInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by savePropertiesObject().
ilObjSurveyGUI::questionsObject | ( | ) |
Creates the questions form for the survey object.
Definition at line 1362 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 3583 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 714 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 496 of file class.ilObjSurveyGUI.php.
References $_POST, removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjSurveyGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Reset the questionblock browser filter.
Definition at line 611 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::resetfilterQuestionBrowserObject | ( | ) |
Reset the question browser filter.
Definition at line 666 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::saveDefineQuestionblockObject | ( | ) |
Confirm define a question block.
Definition at line 1173 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 1029 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 1761 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 173 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, ilUtil\redirect(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::saveObligatoryObject | ( | ) |
Save obligatory states.
Definition at line 1344 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::savePropertiesObject | ( | ) |
Save the survey properties.
Save the survey properties
private
Definition at line 238 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, $result, ANONYMIZE_FREEACCESS, propertiesObject(), and ilUtil\sendSuccess().
ilObjSurveyGUI::sendCodesMailObject | ( | ) |
Definition at line 2523 of file class.ilObjSurveyGUI.php.
References $_POST, $title, handleWriteAccess(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and setCodesSubtabs().
ilObjSurveyGUI::setBrowseForQuestionsSubtabs | ( | ) |
Definition at line 3670 of file class.ilObjSurveyGUI.php.
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilObjSurveyGUI::setCodeLanguageObject | ( | ) |
Change survey language for direct access URL's.
Definition at line 2305 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::setCodesSubtabs | ( | ) |
Set the tabs for the access codes section.
private
Definition at line 3599 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 3640 of file class.ilObjSurveyGUI.php.
Referenced by getTabs().
ilObjSurveyGUI::setNewTemplate | ( | ) |
Definition at line 3273 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$tpl, and ilUtil\getStyleSheetLocation().
ilObjSurveyGUI::unfoldQuestionblockObject | ( | ) |
Unfold a question block.
Definition at line 1210 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 2016 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $redirect, ilObjectGUI\$ref_id, ilObjectGUI\getReturnLocation(), importObject(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by importFileObject().