ILIAS
Release_4_0_x_branch Revision 61816
|
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 ($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. | |
searchInvitationObject () | |
Searches users for the invitation tab. | |
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. | |
addConstraintForm ($step, $postvalues, &$survey_questions, $questions=FALSE) | |
Display the form to add preconditions for survey questions. | |
constraintsAddObject () | |
Add a precondition for a survey question or question block. | |
constraintStep3Object () | |
Handles the third step of the precondition add action. | |
constraintStep2Object () | |
Handles the second step of the precondition add action. | |
constraintStep1Object () | |
Handles the first step of the precondition add action. | |
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. | |
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. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
Add an object search in case the number of existing objects is too big to offer a selection list. | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) | |
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
Definition at line 43 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::_goto | ( | $a_target, | |
$a_access_code = "" |
|||
) |
redirect script
string | $a_target |
Definition at line 3477 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjSurveyGUI::addConstraintForm | ( | $step, | |
$postvalues, | |||
& | $survey_questions, | ||
$questions = FALSE |
|||
) |
Display the form to add preconditions for survey questions.
Definition at line 2526 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, $title, SurveyQuestion\_getQuestionTypeName(), and SurveyQuestion\_includeClass().
Referenced by constraintStep1Object(), constraintStep2Object(), and constraintStep3Object().
ilObjSurveyGUI::addHeadingObject | ( | $question_id = "" | ) |
Creates a form to add a heading to a survey.
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 874 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $key, ilObjectGUI\$obj_id, ilRTE\_getRTEClassname(), ilObject\_lookupObjectId(), ilObject\_lookupType(), ilUtil\prepareFormOutput(), and questionsSubtabs().
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 3226 of file class.ilObjSurveyGUI.php.
References $_GET.
ilObjSurveyGUI::backToRepositoryObject | ( | ) |
Definition at line 61 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjSurveyGUI::browseForQuestionblocksObject | ( | $arrFilter = null | ) |
list questions of question pool
Definition at line 567 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 622 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, setBrowseForQuestionsSubtabs(), and ilSurveyQuestionbrowserTableGUI\setEditable().
ilObjSurveyGUI::cancelCreateQuestionObject | ( | ) |
Cancel the creation of a new questions in a survey.
Cancel the creation of a new questions in a survey
private
Definition at line 810 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDefineQuestionblockObject | ( | ) |
Cancel define a question block.
Definition at line 1193 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelDeleteAllUserDataObject | ( | ) |
Cancels delete of all user data in maintenance.
Definition at line 2004 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDeleteExportFileObject | ( | ) |
cancel deletion of export files
Definition at line 2389 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelDeleteSelectedUserDataObject | ( | ) |
Cancels the deletion of all user data for the test object.
Definition at line 2022 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 1010 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelInsertQuestionObject | ( | ) |
Cancels insert questions or question blocks into the survey.
Cancels insert questions or question blocks into the survey
public
Definition at line 970 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 179 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 191 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelRemoveHeadingObject | ( | ) |
Cancels the removal of survey headings.
Cancels the removal of survey headings
public
Definition at line 1035 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 1094 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::changeDatatypeObject | ( | ) |
Change the object type in the question browser.
Definition at line 526 of file class.ilObjSurveyGUI.php.
References $_POST.
ilObjSurveyGUI::codesObject | ( | ) |
Display the survey access codes tab.
Definition at line 2437 of file class.ilObjSurveyGUI.php.
References handleWriteAccess(), and ilUtil\sendInfo().
ilObjSurveyGUI::confirmDeleteAllUserDataObject | ( | ) |
Deletes all user data of the survey after confirmation.
Definition at line 1994 of file class.ilObjSurveyGUI.php.
References ilUtil\sendSuccess().
ilObjSurveyGUI::confirmDeleteExportFileObject | ( | ) |
confirmation screen for export file deletion
Definition at line 2350 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 2012 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::confirmInsertQuestionObject | ( | ) |
Insert questions or question blocks into the survey after confirmation.
Insert questions or question blocks into the survey after confirmation
public
Definition at line 943 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $key, 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 1047 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 1022 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 1066 of file class.ilObjSurveyGUI.php.
References $_POST, $key, and ilUtil\sendSuccess().
ilObjSurveyGUI::constraintsAddObject | ( | ) |
Add a precondition for a survey question or question block.
Add a precondition for a survey question or question block
private
Definition at line 2624 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, $key, constraintStep3Object(), and ilUtil\sendFailure().
ilObjSurveyGUI::constraintsObject | ( | ) |
Administration page for survey constraints.
Administration page for survey constraints
public
Definition at line 2794 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.
Handles the first step of the precondition add action
private
Definition at line 2708 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, $key, $start, addConstraintForm(), and ilUtil\sendInfo().
Referenced by constraintsObject(), and createConstraintsObject().
ilObjSurveyGUI::constraintStep2Object | ( | ) |
Handles the second step of the precondition add action.
Handles the second step of the precondition add action
private
Definition at line 2693 of file class.ilObjSurveyGUI.php.
References $_POST, and addConstraintForm().
ilObjSurveyGUI::constraintStep3Object | ( | ) |
Handles the third step of the precondition add action.
Handles the third step of the precondition add action
private
Definition at line 2663 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, and addConstraintForm().
Referenced by constraintsAddObject().
ilObjSurveyGUI::createConstraintsObject | ( | ) |
Definition at line 2762 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep1Object(), and ilUtil\sendInfo().
ilObjSurveyGUI::createExportFileObject | ( | ) |
create export file
Definition at line 2314 of file class.ilObjSurveyGUI.php.
References handleWriteAccess().
ilObjSurveyGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 2182 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$data, $key, 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.
Creates a form to select a survey question pool for storage
public
Definition at line 770 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $key, ilObjectGUI\$tpl, and questionsSubtabs().
|
private |
Creates a new questionpool and returns the reference id.
Definition at line 848 of file class.ilObjSurveyGUI.php.
References $name, and ilObjectGUI\$tree.
Referenced by executeCreateQuestionObject().
ilObjSurveyGUI::createSurveyCodesObject | ( | ) |
Create access codes for the survey.
Definition at line 2509 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::defineQuestionblock | ( | $questionblock_id = "" | ) |
Displays the definition form for a question block.
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 717 of file class.ilObjSurveyGUI.php.
References $_POST, $key, 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 1106 of file class.ilObjSurveyGUI.php.
References $_POST, $key, defineQuestionblock(), and ilUtil\sendInfo().
Referenced by saveDefineQuestionblockObject().
ilObjSurveyGUI::deleteAllUserDataObject | ( | ) |
Creates a confirmation form for delete all user data.
Definition at line 1980 of file class.ilObjSurveyGUI.php.
References ilUtil\sendQuestion().
ilObjSurveyGUI::deleteCodesObject | ( | ) |
Delete a list of survey codes.
Definition at line 2463 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteConstraintsObject | ( | ) |
Delete constraints of a survey.
Delete constraints of a survey
private
Definition at line 2744 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::deleteExportFileObject | ( | ) |
delete export files
Definition at line 2399 of file class.ilObjSurveyGUI.php.
References $_POST, $file, ilUtil\delDir(), and ilUtil\sendSuccess().
ilObjSurveyGUI::deleteSingleUserResultsObject | ( | ) |
Asks for a confirmation to delete selected user data of the test object.
Definition at line 2031 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjectGUI\$data, $total, ilDatePresentation\formatDate(), handleWriteAccess(), IL_CAL_UNIX, ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjSurveyGUI::disinviteUserGroupObject | ( | ) |
Disinvite users or groups from a survey.
Definition at line 1684 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::downloadExportFileObject | ( | ) |
download export file
Definition at line 2326 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\deliverFile(), and ilUtil\sendFailure().
ilObjSurveyGUI::editPreconditionObject | ( | ) |
Definition at line 2779 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 1665 of file class.ilObjSurveyGUI.php.
& ilObjSurveyGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 71 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.
Execute the creation of a new questions in a survey
private
Definition at line 822 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, ilObjectGUI\$ref_id, createQuestionPool(), elseif(), ilUtil\redirect(), and ilUtil\sendFailure().
ilObjSurveyGUI::exportAllCodesObject | ( | ) |
Exports all survey codes.
Definition at line 2500 of file class.ilObjSurveyGUI.php.
References ilUtil\deliverData(), and ilUtil\getASCIIFilename().
ilObjSurveyGUI::exportCodesObject | ( | ) |
Exports a list of survey codes.
Definition at line 2483 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\deliverData(), ilUtil\getASCIIFilename(), and ilUtil\sendFailure().
ilObjSurveyGUI::exportObject | ( | ) |
Definition at line 2284 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 545 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::filterQuestionBrowserObject | ( | ) |
Filter the question browser.
Definition at line 600 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 3334 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 203 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
Referenced by codesObject(), confirmDeleteExportFileObject(), constraintsObject(), createExportFileObject(), deleteSingleUserResultsObject(), exportObject(), maintenanceObject(), and questionsObject().
ilObjSurveyGUI::ilObjSurveyGUI | ( | ) |
Constructor public.
Definition at line 49 of file class.ilObjSurveyGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjSurveyGUI::importFileObject | ( | ) |
form for new survey object import
Definition at line 2257 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 2097 of file class.ilObjSurveyGUI.php.
References $key, and ilObjectGUI\getTemplateFile().
Referenced by uploadObject().
ilObjSurveyGUI::infoScreen | ( | ) |
show information screen
Definition at line 2969 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, ilObjSurveyAccess\_hasEvaluationAccess(), ANONYMIZE_FREEACCESS, ANONYMIZE_OFF, ANONYMIZE_ON, elseif(), 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 2949 of file class.ilObjSurveyGUI.php.
References infoScreen().
ilObjSurveyGUI::insertQuestionblocksObject | ( | ) |
Insert question blocks into the survey.
Definition at line 499 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::insertQuestions | ( | $insert_mode | ) |
Insert questions from move clipboard.
Definition at line 1236 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, $key, ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilObjSurveyGUI::insertQuestionsAfterObject | ( | ) |
Insert questions after selection.
Definition at line 1294 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsBeforeObject | ( | ) |
Insert questions before selection.
Definition at line 1286 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsObject | ( | ) |
Insert questions into the survey.
Definition at line 472 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::inviteObject | ( | ) |
Creates the output for user/group invitation to a survey.
Definition at line 1769 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $key, $param, $res, ilRadioGroupInputGUI\addOption(), ilCheckboxGroupInputGUI\addOption(), ilObjectGUI\getReturnLocation(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setValue(), and STATUS_OFFLINE.
Referenced by searchInvitationObject().
ilObjSurveyGUI::inviteUserGroupObject | ( | ) |
Invite users or groups to a survey.
Definition at line 1701 of file class.ilObjSurveyGUI.php.
References $_POST, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::maintenanceObject | ( | ) |
Participants maintenance.
Definition at line 2066 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, $total, ilDatePresentation\formatDate(), handleWriteAccess(), and IL_CAL_UNIX.
ilObjSurveyGUI::moveQuestionsObject | ( | ) |
Move questions.
Definition at line 1202 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, $key, questionsObject(), and ilUtil\sendInfo().
ilObjSurveyGUI::printViewObject | ( | ) |
Creates a print view of the survey questions.
public
Definition at line 3153 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 282 of file class.ilObjSurveyGUI.php.
References $_GET, $errors, ilObjAdvancedEditing\_getUsedHTMLTags(), EVALUATION_ACCESS_ALL, EVALUATION_ACCESS_OFF, EVALUATION_ACCESS_PARTICIPANTS, IL_CAL_DATE, IL_CAL_UNIX, ilUtil\sendFailure(), ilFormPropertyGUI\setDisabled(), ilFormPropertyGUI\setInfo(), ilCheckboxInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by savePropertiesObject().
ilObjSurveyGUI::questionsObject | ( | ) |
Creates the questions form for the survey object.
Definition at line 1320 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, 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 3266 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.
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 661 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 441 of file class.ilObjSurveyGUI.php.
References $_POST, $key, removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjSurveyGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Reset the questionblock browser filter.
Definition at line 556 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::resetfilterQuestionBrowserObject | ( | ) |
Reset the question browser filter.
Definition at line 611 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::saveDefineQuestionblockObject | ( | ) |
Confirm define a question block.
Definition at line 1131 of file class.ilObjSurveyGUI.php.
References $_POST, $key, 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 982 of file class.ilObjSurveyGUI.php.
References $_POST, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), ilUtil\sendFailure(), and ilUtil\stripSlashes().
ilObjSurveyGUI::saveInvitationStatusObject | ( | ) |
Saves the status of the invitation tab.
Definition at line 1743 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 156 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, ilUtil\redirect(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjSurveyGUI::saveObligatoryObject | ( | ) |
Save obligatory states.
Definition at line 1302 of file class.ilObjSurveyGUI.php.
References $_POST, $key, and ilUtil\sendSuccess().
ilObjSurveyGUI::savePropertiesObject | ( | ) |
Save the survey properties.
Save the survey properties
private
Definition at line 221 of file class.ilObjSurveyGUI.php.
References $_POST, $_SESSION, $result, ANONYMIZE_FREEACCESS, propertiesObject(), and ilUtil\sendSuccess().
ilObjSurveyGUI::searchInvitationObject | ( | ) |
Searches users for the invitation tab.
Definition at line 1676 of file class.ilObjSurveyGUI.php.
References inviteObject().
ilObjSurveyGUI::setBrowseForQuestionsSubtabs | ( | ) |
Definition at line 3313 of file class.ilObjSurveyGUI.php.
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilObjSurveyGUI::setCodeLanguageObject | ( | ) |
Change survey language for direct access URL's.
Definition at line 2423 of file class.ilObjSurveyGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjSurveyGUI::setEvalSubtabs | ( | ) |
Set the tabs for the evaluation output.
Set the tabs for the evaluation output
private
Definition at line 3283 of file class.ilObjSurveyGUI.php.
Referenced by getTabs().
ilObjSurveyGUI::setNewTemplate | ( | ) |
Definition at line 2956 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$tpl, and ilUtil\getStyleSheetLocation().
ilObjSurveyGUI::unfoldQuestionblockObject | ( | ) |
Unfold a question block.
Definition at line 1168 of file class.ilObjSurveyGUI.php.
References $_POST, $key, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjSurveyGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 2134 of file class.ilObjSurveyGUI.php.
References $_GET, $_POST, $error, ilObjectGUI\$ref_id, ilObjectGUI\getReturnLocation(), importObject(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by importFileObject().