ILIAS
Release_3_10_x_branch Revision 61812
|
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. | |
savePropertiesObject () | |
Save the survey properties. | |
handleWriteAccess () | |
Checks for write access and returns to the parent object. | |
propertiesObject () | |
Creates the properties form for the survey object. | |
filterQuestionsObject () | |
Called when the filter in the question browser is activated. | |
resetFilterQuestionsObject () | |
Called when the filter in the question browser has been resetted. | |
changeDatatypeObject () | |
Change the object type in the question browser. | |
insertQuestionsObject () | |
Insert questions into the survey. | |
removeQuestionsObject () | |
Remove questions from the survey. | |
browseForQuestionsObject ($filter_questionpool="", $reset_filter=false, $browsequestions=1) | |
Creates the questionbrowser to select questions from question pools. | |
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. | |
outUserGroupTable ($a_type, $id_array, $block_result, $block_row, $title_text, $buttons) | |
Creates the search output for the user/group search form. | |
saveInvitationStatusObject () | |
Saves the status of the invitation tab. | |
searchInvitationObject () | |
Searches users for the invitation tab. | |
disinviteUserGroupObject () | |
Disinvite users or groups from a survey. | |
inviteUserGroupObject () | |
Invite users or groups to a survey. | |
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 () | |
exportObject () | |
createExportFileObject () | |
create export file | |
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 | |
downloadExportFileObject () | |
download export file | |
confirmDeleteExportFileObject () | |
confirmation screen for export file deletion | |
cancelDeleteExportFileObject () | |
cancel deletion of export files | |
deleteExportFileObject () | |
delete export files | |
setCodeLanguageObject () | |
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 | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
setActions ($a_actions="") | |
set possible actions for objects in list. | |
setSubObjects ($a_sub_objects="") | |
set possible subobjects for this object. | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
undeleteObject () | |
get object back from trash | |
insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) | |
recursive method to insert all saved nodes of the clipboard (maybe this function could be moved to a rbac class ?) | |
confirmedDeleteObject () | |
confirmed deletion if object -> objects are moved to trash | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) | |
remove already deleted objects within the objects in trash recursive function | |
editObject () | |
edit object | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
updateObject () | |
updates object entry in object_data | |
afterUpdate () | |
permObject () | |
show permissions of current node | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
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 | |
permSaveObject () | |
save permissions | |
isVisible ($a_ref_id, $a_type) | |
displayList () | |
display object list | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
display deletion confirmation screen only for referenced objects. | |
trashObject () | |
show trash content of object | |
addRoleObject () | |
adds a local role This method is only called when choose the option 'you may add local roles'. | |
showActions ($with_subobjects=false) | |
show possible action (form buttons) | |
getActions () | |
Get Actions. | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
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="") | |
infoObject () | |
__buildRoleFilterSelect () | |
__filterRoles ($a_roles, $a_filter) | |
ownerObject () | |
changeOwnerObject () | |
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. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
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 | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) |
Class ilObjSurveyGUI.
ilObjSurveyGUI: ilSurveyEvaluationGUI ilObjSurveyGUI: ilSurveyExecutionGUI ilObjSurveyGUI: ilMDEditorGUI, ilPermissionGUI ilObjSurveyGUI: ilInfoScreenGUI
Definition at line 43 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::_goto | ( | $a_target, | |
$a_access_code = "" |
|||
) |
redirect script
string | $a_target |
Definition at line 4218 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
ilObjSurveyGUI::addConstraintForm | ( | $step, | |
$postvalues, | |||
& | $survey_questions, | ||
$questions = FALSE |
|||
) |
Display the form to add preconditions for survey questions.
Display the form to add preconditions for survey questions
private
Definition at line 3271 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 1186 of file class.ilObjSurveyGUI.php.
References $_GET, 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 3967 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::browseForQuestionsObject | ( | $filter_questionpool = "" , |
|
$reset_filter = false , |
|||
$browsequestions = 1 |
|||
) |
Creates the questionbrowser to select questions from question pools.
Creates the questionbrowser to select questions from question pools
public
Definition at line 554 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$data, SurveyQuestion\_getQuestionTypeName(), ilObjSurveyQuestionPool\_getQuestiontypes(), ilDatePresentation\formatDate(), ilUtil\getImagePath(), IL_CAL_TIMESTAMP, ilUtil\sendInfo(), and setBrowseForQuestionsSubtabs().
Referenced by filterQuestionsObject(), insertQuestionsObject(), and resetFilterQuestionsObject().
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 1122 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDefineQuestionblockObject | ( | ) |
Cancel define a question block.
Cancel define a question block
private
Definition at line 1515 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDeleteAllUserDataObject | ( | ) |
Cancels delete of all user data in maintenance.
Cancels delete of all user data in maintenance
private
Definition at line 2512 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDeleteExportFileObject | ( | ) |
cancel deletion of export files
Definition at line 3041 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelDeleteSelectedUserDataObject | ( | ) |
Cancels the deletion of all user data for the test object.
Cancels the deletion of all user data for the test object
public
Definition at line 2538 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::cancelHeadingObject | ( | ) |
Cancels saving a heading in the survey questions list.
Cancels saving a heading in the survey questions list
public
Definition at line 1322 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 1282 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 153 of file class.ilObjSurveyGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjSurveyGUI::cancelPropertiesObject | ( | ) |
Cancel actions in the properties form.
Cancel actions in the properties form
private
Definition at line 166 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::cancelRemoveHeadingObject | ( | ) |
Cancels the removal of survey headings.
Cancels the removal of survey headings
public
Definition at line 1347 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 1406 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::changeDatatypeObject | ( | ) |
Change the object type in the question browser.
Change the object type in the question browser
private
Definition at line 460 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::codesObject | ( | ) |
Display the survey access codes tab.
Display the survey access codes tab
private
Definition at line 3088 of file class.ilObjSurveyGUI.php.
References $_GET, $lang, handleWriteAccess(), and ilUtil\sendInfo().
Referenced by deleteCodesObject(), and exportCodesObject().
ilObjSurveyGUI::confirmDeleteAllUserDataObject | ( | ) |
Deletes all user data of the survey after confirmation.
Deletes all user data of the survey after confirmation
private
Definition at line 2498 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::confirmDeleteExportFileObject | ( | ) |
confirmation screen for export file deletion
Definition at line 2987 of file class.ilObjSurveyGUI.php.
References $_SESSION, $file, ilUtil\getImagePath(), ilUtil\sendInfo(), and ilUtil\switchColor().
ilObjSurveyGUI::confirmDeleteSelectedUserDataObject | ( | ) |
Deletes all user data for the test object.
Deletes all user data for the test object
public
Definition at line 2524 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
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 1255 of file class.ilObjSurveyGUI.php.
References $_GET, and ilUtil\sendInfo().
ilObjSurveyGUI::confirmRemoveHeadingForm | ( | ) |
Displays a confirmation form to delete a survey heading.
Displays a confirmation form to delete a survey heading
public
Definition at line 1359 of file class.ilObjSurveyGUI.php.
References $_GET, and ilUtil\sendInfo().
Referenced by questionsObject().
ilObjSurveyGUI::confirmRemoveHeadingObject | ( | ) |
Remove a survey heading after confirmation.
Remove a survey heading after confirmation
public
Definition at line 1334 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from survey after confirmation.
Remove questions from survey after confirmation
private
Definition at line 1378 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
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 3369 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, constraintStep3Object(), and ilUtil\sendInfo().
ilObjSurveyGUI::constraintsObject | ( | ) |
Administration page for survey constraints.
Administration page for survey constraints
public
Definition at line 3539 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.
Handles the first step of the precondition add action
private
Definition at line 3453 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, 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 3438 of file class.ilObjSurveyGUI.php.
References 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 3408 of file class.ilObjSurveyGUI.php.
References $_GET, and addConstraintForm().
Referenced by constraintsAddObject().
ilObjSurveyGUI::createConstraintsObject | ( | ) |
Definition at line 3507 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, constraintStep1Object(), and ilUtil\sendInfo().
ilObjSurveyGUI::createExportFileObject | ( | ) |
create export file
Definition at line 2754 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 2861 of file class.ilObjSurveyGUI.php.
References $_GET, $_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.
Creates a form to select a survey question pool for storage
public
Definition at line 1082 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$tpl, and questionsSubtabs().
|
private |
Creates a new questionpool and returns the reference id.
Definition at line 1160 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$tree.
Referenced by executeCreateQuestionObject().
ilObjSurveyGUI::createSurveyCodesObject | ( | ) |
Create access codes for the survey.
Create access codes for the survey
private
Definition at line 3251 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
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 1029 of file class.ilObjSurveyGUI.php.
References 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 1418 of file class.ilObjSurveyGUI.php.
References defineQuestionblock(), and ilUtil\sendInfo().
Referenced by saveDefineQuestionblockObject().
ilObjSurveyGUI::deleteAllUserDataObject | ( | ) |
Creates a confirmation form for delete all user data.
Creates a confirmation form for delete all user data
private
Definition at line 2478 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::deleteCodesObject | ( | ) |
Delete a list of survey codes.
Delete a list of survey codes
private
Definition at line 3199 of file class.ilObjSurveyGUI.php.
References codesObject().
ilObjSurveyGUI::deleteConstraintsObject | ( | ) |
Delete constraints of a survey.
Delete constraints of a survey
private
Definition at line 3489 of file class.ilObjSurveyGUI.php.
References $_SESSION.
ilObjSurveyGUI::deleteExportFileObject | ( | ) |
delete export files
Definition at line 3051 of file class.ilObjSurveyGUI.php.
References $_SESSION, $file, and ilUtil\delDir().
ilObjSurveyGUI::deleteSingleUserResultsObject | ( | ) |
Asks for a confirmation to delete selected user data of the test object.
Asks for a confirmation to delete selected user data of the test object
public
Definition at line 2550 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::disinviteUserGroupObject | ( | ) |
Disinvite users or groups from a survey.
Disinvite users or groups from a survey
private
Definition at line 2191 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::downloadExportFileObject | ( | ) |
download export file
Definition at line 2963 of file class.ilObjSurveyGUI.php.
References ilUtil\deliverFile(), and ilUtil\sendInfo().
ilObjSurveyGUI::editPreconditionObject | ( | ) |
Definition at line 3524 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 2002 of file class.ilObjSurveyGUI.php.
& ilObjSurveyGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 71 of file class.ilObjSurveyGUI.php.
References $_GET, $cmd, $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 1134 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$ref_id, createQuestionPool(), ilUtil\redirect(), and ilUtil\sendInfo().
ilObjSurveyGUI::exportAllCodesObject | ( | ) |
Exports all survey codes.
Exports all survey codes
private
Definition at line 3238 of file class.ilObjSurveyGUI.php.
References ilUtil\deliverData(), and ilUtil\getASCIIFilename().
ilObjSurveyGUI::exportCodesObject | ( | ) |
Exports a list of survey codes.
Exports a list of survey codes
private
Definition at line 3218 of file class.ilObjSurveyGUI.php.
References codesObject(), ilUtil\deliverData(), and ilUtil\getASCIIFilename().
ilObjSurveyGUI::exportObject | ( | ) |
Definition at line 2644 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$tree, ilUtil\getImagePath(), handleWriteAccess(), and ilUtil\switchColor().
ilObjSurveyGUI::filterQuestionsObject | ( | ) |
Called when the filter in the question browser is activated.
Called when the filter in the question browser is activated
private
Definition at line 436 of file class.ilObjSurveyGUI.php.
References browseForQuestionsObject().
ilObjSurveyGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Reimplemented from ilObjectGUI.
Definition at line 4076 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 243 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
Referenced by codesObject(), constraintsObject(), exportObject(), maintenanceObject(), propertiesObject(), 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 2936 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$ref_id, createObject(), ilUtil\redirect(), ilUtil\sendInfo(), and uploadObject().
ilObjSurveyGUI::importObject | ( | ) |
display dialogue for importing tests
public
Reimplemented from ilObjectGUI.
Definition at line 2776 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\getTemplateFile().
Referenced by uploadObject().
ilObjSurveyGUI::infoScreen | ( | ) |
show information screen
Definition at line 3714 of file class.ilObjSurveyGUI.php.
References $_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 3694 of file class.ilObjSurveyGUI.php.
References infoScreen().
ilObjSurveyGUI::insertQuestions | ( | $insert_mode | ) |
Insert questions from move clipboard.
Insert questions from move clipboard
private
Definition at line 1565 of file class.ilObjSurveyGUI.php.
References $_SESSION, and ilUtil\sendInfo().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilObjSurveyGUI::insertQuestionsAfterObject | ( | ) |
Insert questions after selection.
Insert questions after selection
private
Definition at line 1630 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsBeforeObject | ( | ) |
Insert questions before selection.
Insert questions before selection
private
Definition at line 1618 of file class.ilObjSurveyGUI.php.
References insertQuestions().
ilObjSurveyGUI::insertQuestionsObject | ( | ) |
Insert questions into the survey.
Insert questions into the survey
private
Definition at line 473 of file class.ilObjSurveyGUI.php.
References $_GET, browseForQuestionsObject(), and ilUtil\sendInfo().
ilObjSurveyGUI::inviteObject | ( | ) |
Creates the output for user/group invitation to a survey.
Creates the output for user/group invitation to a survey
public
Definition at line 2260 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\getReturnLocation(), INVITATION_ON, MODE_PREDEFINED_USERS, outUserGroupTable(), ilUtil\redirect(), ilUtil\sendInfo(), and STATUS_OFFLINE.
Referenced by searchInvitationObject().
ilObjSurveyGUI::inviteUserGroupObject | ( | ) |
Invite users or groups to a survey.
Invite users or groups to a survey
private
Definition at line 2211 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::maintenanceObject | ( | ) |
Definition at line 2576 of file class.ilObjSurveyGUI.php.
References $_GET, $total, ilDatePresentation\formatDate(), ilUtil\getImagePath(), handleWriteAccess(), IL_CAL_TIMESTAMP, and ilUtil\sendInfo().
ilObjSurveyGUI::moveQuestionsObject | ( | ) |
Move questions.
Move questions
private
Definition at line 1527 of file class.ilObjSurveyGUI.php.
References $_SESSION, questionsObject(), and ilUtil\sendInfo().
ilObjSurveyGUI::outUserGroupTable | ( | $a_type, | |
$id_array, | |||
$block_result, | |||
$block_row, | |||
$title_text, | |||
$buttons | |||
) |
Creates the search output for the user/group search form.
Creates the search output for the user/group search form
public
Definition at line 2017 of file class.ilObjSurveyGUI.php.
References $user, ilObjUser\_lookupLogin(), and ilUtil\getImagePath().
Referenced by inviteObject().
ilObjSurveyGUI::printViewObject | ( | ) |
Creates a print view of the survey questions.
public
Definition at line 3895 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$ilias, ilUtil\getHtmlPath(), ilUtil\getImagePath(), and questionsSubtabs().
ilObjSurveyGUI::propertiesObject | ( | ) |
Creates the properties form for the survey object.
Creates the properties form for the survey object
public
Definition at line 261 of file class.ilObjSurveyGUI.php.
References $_GET, ilObjectGUI\$obj_id, ilRTE\_getRTEClassname(), ilObject\_lookupObjectId(), ilObject\_lookupType(), ANONYMIZE_FREEACCESS, ANONYMIZE_OFF, ANONYMIZE_ON, EVALUATION_ACCESS_ALL, EVALUATION_ACCESS_OFF, EVALUATION_ACCESS_PARTICIPANTS, ilUtil\getImagePath(), handleWriteAccess(), ilUtil\makeDateSelect(), ilUtil\prepareFormOutput(), and STATUS_ONLINE.
ilObjSurveyGUI::questionsObject | ( | ) |
Creates the questions form for the survey object.
Creates the questions form for the survey object
public
Definition at line 1663 of file class.ilObjSurveyGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, ilObjectGUI\$ref_id, SurveyQuestion\_getQuestionTypeName(), ilObjSurveyQuestionPool\_getQuestiontypes(), SurveyQuestion\_getRefIdFromObjId(), addHeadingObject(), confirmRemoveHeadingForm(), defineQuestionblock(), ilUtil\getImagePath(), ilObjectGUI\getReturnLocation(), handleWriteAccess(), questionsSubtabs(), ilUtil\redirect(), and ilUtil\sendInfo().
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 4007 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 973 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 519 of file class.ilObjSurveyGUI.php.
References removeQuestionsForm(), and ilUtil\sendInfo().
ilObjSurveyGUI::resetFilterQuestionsObject | ( | ) |
Called when the filter in the question browser has been resetted.
Called when the filter in the question browser has been resetted
private
Definition at line 448 of file class.ilObjSurveyGUI.php.
References browseForQuestionsObject().
ilObjSurveyGUI::saveDefineQuestionblockObject | ( | ) |
Confirm define a question block.
Confirm define a question block
private
Definition at line 1447 of file class.ilObjSurveyGUI.php.
References defineQuestionblockObject(), ilUtil\sendInfo(), 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 1294 of file class.ilObjSurveyGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilObjSurveyGUI::saveInvitationStatusObject | ( | ) |
Saves the status of the invitation tab.
Saves the status of the invitation tab
private
Definition at line 2157 of file class.ilObjSurveyGUI.php.
References MODE_PREDEFINED_USERS.
ilObjSurveyGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 137 of file class.ilObjSurveyGUI.php.
References ilUtil\redirect(), and ilUtil\sendInfo().
ilObjSurveyGUI::saveObligatoryObject | ( | ) |
Save obligatory states.
Save obligatory states
private
Definition at line 1642 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::savePropertiesObject | ( | ) |
Save the survey properties.
Save the survey properties
private
Definition at line 179 of file class.ilObjSurveyGUI.php.
References $_SESSION, $result, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilUtil\sendInfo(), STATUS_OFFLINE, STATUS_ONLINE, and ilUtil\stripSlashes().
ilObjSurveyGUI::searchInvitationObject | ( | ) |
Searches users for the invitation tab.
Searches users for the invitation tab
private
Definition at line 2179 of file class.ilObjSurveyGUI.php.
References inviteObject().
ilObjSurveyGUI::setBrowseForQuestionsSubtabs | ( | ) |
Definition at line 4054 of file class.ilObjSurveyGUI.php.
Referenced by browseForQuestionsObject().
ilObjSurveyGUI::setCodeLanguageObject | ( | ) |
Definition at line 3071 of file class.ilObjSurveyGUI.php.
ilObjSurveyGUI::setEvalSubtabs | ( | ) |
Set the tabs for the evaluation output.
Set the tabs for the evaluation output
private
Definition at line 4024 of file class.ilObjSurveyGUI.php.
Referenced by getTabs().
ilObjSurveyGUI::setNewTemplate | ( | ) |
Definition at line 3701 of file class.ilObjSurveyGUI.php.
References ilObjectGUI\$tpl, and ilUtil\getStyleSheetLocation().
ilObjSurveyGUI::unfoldQuestionblockObject | ( | ) |
Unfold a question block.
Unfold a question block
private
Definition at line 1487 of file class.ilObjSurveyGUI.php.
References ilUtil\sendInfo().
ilObjSurveyGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 2813 of file class.ilObjSurveyGUI.php.
References $_GET, $redirect, ilObjectGUI\$ref_id, ilObjectGUI\getReturnLocation(), importObject(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by importFileObject().