ILIAS
release_8 Revision v8.23
|
Public Member Functions | |
__construct (int $a_id=0, bool $a_call_by_reference=true) | |
create ($a_upload=false) | |
update ($a_upload=false) | |
createReference () | |
read () | |
addQuestion (int $question_id) | |
Adds a question to the survey (used in importer!) More... | |
delete () | |
deleteSurveyRecord () | |
Deletes the survey from the database. More... | |
deleteAllUserData (bool $reset_LP=true) | |
Deletes all user data of a survey. More... | |
removeSelectedSurveyResults (array $finished_ids) | |
Deletes the user data of a given array of survey participants. More... | |
getSurveyParticipants (?array $finished_ids=null, bool $force_non_anonymous=false, bool $include_invites=false) | |
isComplete () | |
Check if survey is complete for use. More... | |
saveCompletionStatus () | |
Saves the completion status of the survey. More... | |
duplicateQuestionForSurvey (int $question_id, bool $a_force=false) | |
Takes a question and creates a copy of the question for use in the survey. More... | |
insertQuestion (int $question_id) | |
Inserts a question in the survey and saves the relation to the database. More... | |
isQuestionInSurvey (int $a_question_fi) | |
insertQuestionblock (int $questionblock_id) | |
saveUserSettings (int $usr_id, string $key, string $title, string $value) | |
deleteUserSettings (int $id) | |
getUserSettings (int $usr_id, string $key) | |
saveToDb () | |
saveQuestionsToDb () | |
getQuestionGUI (string $questiontype, int $question_id) | |
getQuestionType (int $question_id) | |
getSurveyId () | |
setAnonymize (int $a_anonymize) | |
set anonymize status More... | |
getAnonymize () | |
setCalculateSumScore (bool $a_val) | |
getCalculateSumScore () | |
isAccessibleWithoutCode () | |
hasAnonymizedResults () | |
loadFromDb () | |
loadQuestionsFromDb () | |
fixSequenceStructure () | |
setAuthor (string $author="") | |
saveAuthorToMetadata (string $a_author="") | |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" surveys where the author hasn't been stored in the lifecycle metadata. More... | |
getAuthor () | |
getShowQuestionTitles () | |
setShowQuestionTitles (bool $a_show) | |
setIntroduction (string $introduction="") | |
setOutro (string $outro="") | |
getStartDate () | |
setStartDate (string $start_date="") | |
setStartDateAndTime (string $start_date, string $start_time) | |
getEndDate () | |
setEndDate (string $end_date="") | |
hasStarted () | |
hasEnded () | |
setEndDateAndTime (string $end_date, string $end_time) | |
getEvaluationAccess () | |
setEvaluationAccess (string $evaluation_access=self::EVALUATION_ACCESS_OFF) | |
setActivationVisibility (bool $a_value) | |
getActivationVisibility () | |
isActivationLimited () | |
setActivationLimited (bool $a_value) | |
getIntroduction () | |
getOutro () | |
getExistingQuestions () | |
Gets the question id's of the questions which are already in the survey. More... | |
getQuestionpoolTitles (bool $could_be_offline=false, bool $showPath=false) | |
Returns the available question pools for the active user. More... | |
moveQuestions (array $move_questions, int $target_index, int $insert_mode) | |
Move questions and/or questionblocks to another position. More... | |
removeQuestion (int $question_id) | |
removeConstraintsConcerningQuestion (int $question_id) | |
Remove constraints concerning a question with a given question_id. More... | |
removeQuestions (array $remove_questions, array $remove_questionblocks) | |
unfoldQuestionblocks (array $questionblocks) | |
removeQuestionFromBlock (int $question_id, int $questionblock_id) | |
addQuestionToBlock (int $question_id, int $questionblock_id) | |
isQuestionInAnyBlock (int $a_question_fi) | |
getQuestionblockQuestions (int $questionblock_id) | |
getQuestionblockQuestionIds (int $questionblock_id) | |
createQuestionblock (string $title, bool $show_questiontext, bool $show_blocktitle, array $questions, bool $compress_view=false) | |
modifyQuestionblock (int $questionblock_id, string $title, bool $show_questiontext, bool $show_blocktitle, bool $compress_view=false) | |
deleteConstraints (int $question_id) | |
Deletes the constraints for a question. More... | |
deleteConstraint (int $constraint_id) | |
Deletes a single constraint. More... | |
getSurveyQuestions (bool $with_answers=false) | |
Returns the survey questions and questionblocks in an array. More... | |
setObligatoryStates (array $obligatory_questions) | |
Sets the obligatory states for questions in a survey from the questions form. More... | |
getSurveyPages () | |
Returns the survey pages in an array (a page contains one or more questions) More... | |
getNextPage (int $active_page_question_id, int $direction) | |
Get current, previous or next page. More... | |
getAvailableQuestionpools (bool $use_obj_id=false, bool $could_be_offline=false, bool $showPath=false, string $permission="read") | |
Returns the available question pools for the active user. More... | |
getPrecondition (int $constraint_id) | |
Returns a precondition with a given id. More... | |
getConstraints (int $question_id) | |
Returns the constraints to a given question or questionblock. More... | |
getVariables (int $question_id) | |
Returns all variables (answer options/scale values) of a question. More... | |
addConstraint (int $if_question_id, int $relation, float $value, int $conjunction) | |
Adds a constraint. More... | |
addConstraintToQuestion (int $to_question_id, int $constraint_id) | |
updateConstraint (int $precondition_id, int $if_question_id, int $relation, float $value, int $conjunction) | |
updateConjunctionForQuestions (array $questions, int $conjunction) | |
getAllRelations (bool $short_as_key=false) | |
deleteWorkingData (int $question_id, int $active_id) | |
Deletes the working data of a question in the database. More... | |
loadWorkingData (int $question_id, int $active_id) | |
Gets the given answer data of a question in a run. More... | |
finishSurvey (int $finished_id, int $appr_id=0) | |
Finishes the survey creating an entry in the database. More... | |
setPage (int $finished_id, int $page_id) | |
Sets the number of the active survey page. More... | |
sendNotificationMail (int $a_user_id, string $a_anonymize_id, int $a_appr_id=0) | |
These mails are sent to tutors for each single participant that finishes a survey. More... | |
getActiveID (int $user_id, string $anonymize_id, int $appr_id) | |
Get run id. More... | |
getLastActivePage (int $active_id) | |
Returns the question id of the last active page a user visited in a survey. More... | |
checkConstraint (array $constraint_data, ?array $working_data) | |
Checks if a constraint is valid. More... | |
getSurveyFinishedIds () | |
Get run ids. More... | |
getUserSpecificResults (array $finished_ids) | |
Calculates the evaluation data for the user specific results. More... | |
getUserDataFromActiveId (int $active_id, bool $force_non_anonymous=false) | |
Returns run information. More... | |
getEvaluationByUser (array $questions, int $active_id) | |
Calculates the evaluation data for a given run. More... | |
getQuestionsTable (array $arrFilter) | |
Retrieve data for question browser. More... | |
getQuestionblocksTable (array $arrFilter) | |
Retrieve data for question block browser. More... | |
toXML () | |
Returns a QTI xml representation of the survey. More... | |
locateImportFiles (string $a_dir) | |
Locates the import directory and the xml file in a directory with an unzipped import file. More... | |
importObject (array $file_info, int $svy_qpl_id) | |
getTextblock (int $question_id) | |
cloneTextblocks (array $mapping) | |
Clones the text blocks of survey questions. More... | |
createExportDirectory () | |
creates data directory for export files (data_dir/svy_data/svy_<id>/export) More... | |
getExportDirectory () | |
createImportDirectory () | |
creates data directory for import files (data_dir/svy_data/svy_<id>/import) More... | |
getImportDirectory () | |
get import directory of survey More... | |
saveHeading (string $heading, int $insertbefore) | |
isAnonymizedParticipant (string $key) | |
getSurveyCodesForExport (array $a_codes=null, array $a_ids=null) | |
Return a list of survey codes for file export, note: user_key needs to be null to export a record. More... | |
getSurveyCodesTableData (array $ids=null, string $lang=null) | |
Fetches the data for the survey codes table. More... | |
isSurveyCodeUsed (string $code) | |
isSurveyCodeUnique (string $code) | |
importSurveyCode (string $a_anonymize_key, int $a_created, array $a_data) | |
sendCodes (int $not_sent, string $subject, string $message, string $lang) | |
getExternalCodeRecipients (bool $a_check_finished=false) | |
isSurveyFinishedByCode (string $a_code) | |
Get if survey is finished for a specific anonymous user code. More... | |
deleteSurveyCode (string $survey_code) | |
getUserAccessCode (int $user_id) | |
Returns a survey access code that was saved for a registered user. More... | |
saveUserAccessCode (int $user_id, string $access_code) | |
Saves a survey access code for a registered user to the database. More... | |
getLastAccess (int $finished_id) | |
prepareTextareaOutput (string $txt_output) | |
Prepares a string for a text area output in surveys. More... | |
isHTML (string $a_text) | |
Checks if a given string contains HTML or not. More... | |
addMaterialTag (ilXmlWriter $a_xml_writer, string $a_material, bool $close_material_tag=true, bool $add_mobs=true, array $attribs=null) | |
Creates an XML material tag from a plain text or xhtml text. More... | |
canExportSurveyCode () | |
Checks if the survey code can be exported with the survey evaluation. More... | |
isPluginActive (string $a_pname) | |
setSurveyId (int $survey_id) | |
getUserData (array $ids) | |
Returns a data of all users specified by id list. More... | |
getMailNotification () | |
Send mail to tutors each time a participant finishes the survey? More... | |
setMailNotification (bool $a_notification) | |
Activate mail to tutors each time a participant finishes the survey. More... | |
getMailAddresses () | |
(Tutor) Recipients of "single participant has finished" mails More... | |
setMailAddresses (string $a_addresses) | |
Set (Tutor) Recipients of "single participant has finished" mails. More... | |
getMailParticipantData () | |
Preceding text (incl. More... | |
setMailParticipantData (string $a_data) | |
Set preceding text (incl. More... | |
getWorkingtimeForParticipant (int $finished_id) | |
updateOrder (array $a_order) | |
getPoolUsage () | |
setPoolUsage (bool $a_value) | |
updateCode (int $a_id, string $a_email, string $a_last_name, string $a_first_name, int $a_sent) | |
get360Mode () | |
set360SelfEvaluation (bool $a_value) | |
get360SelfEvaluation () | |
set360SelfAppraisee (bool $a_value) | |
get360SelfAppraisee () | |
set360SelfRaters (bool $a_value) | |
get360SelfRaters () | |
set360Results (int $a_value) | |
get360Results () | |
addAppraisee (int $a_user_id) | |
sendAppraiseeNotification (int $a_user_id) | |
sendAppraiseeCloseNotification (int $a_user_id) | |
sendRaterNotification (int $a_user_id, int $a_appraisee_id) | |
isAppraisee (int $a_user_id) | |
isAppraiseeClosed (int $a_user_id) | |
deleteAppraisee (int $a_user_id) | |
getAppraiseesData () | |
addRater (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id=0) | |
isRater (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id=0) | |
deleteRater (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id=0) | |
getRatersData (int $a_appraisee_id) | |
getAppraiseesToRate (?int $a_user_id, int $a_anonymous_id=null) | |
getAnonymousIdByCode (string $a_code) | |
is360SurveyStarted (int $appr_id, int $user_id, string $anonymous_code=null) | |
getUserSurveyExecutionStatus (string $a_code=null) | |
Get current user execution status. More... | |
findCodeForUser (int $a_user_id) | |
isUnusedCode (string $a_code, int $a_user_id) | |
getFinishedIdsForAppraiseeId (int $a_appr_id, bool $a_exclude_appraisee=false) | |
getFinishedIdForAppraiseeIdAndRaterId (int $a_appr_id, int $a_rat_id) | |
Get finished id for an appraisee and a rater. More... | |
setSkillService (bool $a_val) | |
getSkillService () | |
set360RaterSent (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id, int $a_tstamp=null) | |
closeAppraisee (int $a_user_id) | |
openAllAppraisees () | |
getReminderStatus () | |
setReminderStatus (bool $a_value) | |
getReminderStart () | |
setReminderStart (?ilDate $a_value=null) | |
getReminderEnd () | |
setReminderEnd (?ilDate $a_value=null) | |
getReminderFrequency () | |
setReminderFrequency (int $a_value) | |
getReminderTarget () | |
setReminderTarget (int $a_value) | |
getReminderLastSent () | |
setReminderLastSent (?string $a_value) | |
getReminderTemplate (bool $selectDefault=false) | |
setReminderTemplate (?int $a_value) | |
getTutorNotificationStatus () | |
setTutorNotificationStatus (bool $a_value) | |
Activates mail being sent to tutors after all participants have finished the survey. More... | |
getTutorNotificationRecipients () | |
Mail being sent to tutors after all participants have finished the survey? More... | |
setTutorNotificationRecipients (array $a_value) | |
Set tutor recipients for "all participants have finished" mail. More... | |
getTutorNotificationTarget () | |
Group that is checked for the "all participants have finished" mail Either a) all members of a parent group/course or b) all users which have been invited (svy_invitation) (= task on dashboard) More... | |
setTutorNotificationTarget (int $a_value) | |
getTutorResultsStatus () | |
setTutorResultsStatus (bool $a_value) | |
getTutorResultsRecipients () | |
setTutorResultsRecipients (array $a_value) | |
sent360Reminders () | |
Send 360 reminders. More... | |
send360ReminderToUser (int $a_user_id, array $a_appraisee_ids) | |
getNotificationTargetUserIds (bool $a_use_invited) | |
These users must finish the survey to trigger the tutor notification "all users finished the survey" a) members of a parent group/course or b) all members that have been invited (svy_invitation) invitations are presented as tasks on the dashboard. More... | |
checkReminder () | |
setActivationStartDate (int $starting_time=null) | |
setActivationEndDate (int $ending_time=null) | |
getActivationStartDate () | |
getActivationEndDate () | |
setViewOwnResults (bool $a_value) | |
hasViewOwnResults () | |
setMailOwnResults (bool $a_value) | |
hasMailOwnResults () | |
setMailConfirmation (bool $a_value) | |
hasMailConfirmation () | |
setAnonymousUserList (bool $a_value) | |
hasAnonymousUserList () | |
setMode (int $a_value) | |
getMode () | |
setSelfEvaluationResults (int $a_value) | |
getSelfEvaluationResults () | |
getMaxSumScore () | |
![]() | |
__construct (int $id=0, bool $reference=true) | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
processAutoRating () | |
read () | |
getId () | |
setId (int $id) | |
setRefId (int $ref_id) | |
getRefId () | |
getType () | |
setType (string $type) | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
getUntranslatedTitle () | |
Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
setTitle (string $title) | |
getDescription () | |
setDescription (string $desc) | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
setImportId (string $import_id) | |
setOfflineStatus (bool $status) | |
getOfflineStatus () | |
supportsOfflineHandling () | |
getOwner () | |
getOwnerName () | |
get full name of object owner More... | |
setOwner (int $usr_id) | |
getCreateDate () | |
Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
getLastUpdateDate () | |
Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
create () | |
note: title, description and type should be set when this function is called More... | |
update () | |
MDUpdateListener (string $element) | |
Metadata update listener. More... | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
update owner of object in db More... | |
putInTree (int $parent_ref_id) | |
maybe this method should be in tree object!? More... | |
setPermissions (int $parent_ref_id) | |
setParentRolePermissions (int $parent_ref_id) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
applyDidacticTemplate (int $tpl_id) | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo (int $target_id, int $copy_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies (int $target_id, int $copy_id) | |
Clone object dependencies. More... | |
cloneMetaData (ilObject $target_obj) | |
Copy meta data. More... | |
selfOrParentWithRatingEnabled () | |
getPossibleSubObjects (bool $filter=true) | |
get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | _getQuestionblock (int $questionblock_id) |
get question block properties More... | |
static | _addQuestionblock (string $title="", int $owner=0, bool $show_questiontext=true, bool $show_blocktitle=false, bool $compress_view=false) |
static | _getConstraints (int $survey_id) |
static | _hasDatasets (int $survey_id) |
static | _instanciateQuestion (int $question_id) |
Creates an instance of a question with a given question id. More... | |
static | getSurveySkippedValue () |
static | getSurveysWithTutorResults () |
![]() | |
static | _lookupObjIdByImportId (string $import_id) |
Get (latest) object id for an import id. More... | |
static | _lookupImportId (int $obj_id) |
static | _lookupOwnerName (int $owner_id) |
Lookup owner name for owner id. More... | |
static | _getIdForImportId (string $import_id) |
static | _getAllReferences (int $id) |
get all reference ids for object ID More... | |
static | _lookupTitle (int $obj_id) |
static | lookupOfflineStatus (int $obj_id) |
Lookup offline status using objectDataCache. More... | |
static | _lookupOwner (int $obj_id) |
Lookup owner user ID for object ID. More... | |
static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
static | _lookupDescription (int $obj_id) |
static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
static | _getLastUpdateOfObjects (array $obj_ids) |
static | _lookupObjId (int $ref_id) |
static | _setDeletedDate (int $ref_id, int $deleted_by) |
static | setDeletedDates (array $ref_ids, int $user_id) |
static | _resetDeletedDate (int $ref_id) |
static | _lookupDeletedDate (int $ref_id) |
static | _writeTitle (int $obj_id, string $title) |
write title to db (static) More... | |
static | _writeDescription (int $obj_id, string $desc) |
write description to db (static) More... | |
static | _writeImportId (int $obj_id, string $import_id) |
write import id to db (static) More... | |
static | _lookupType (int $id, bool $reference=false) |
static | _isInTrash (int $ref_id) |
static | _hasUntrashedReference (int $obj_id) |
checks whether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId (int $ref_id) |
static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
get all objects of a certain type More... | |
static | _exists (int $id, bool $reference=false, ?string $type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType (string $obj_type="", int $owner=null) |
static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
Prepare copy wizard object selection. More... | |
static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies (int $obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $obj_ids) |
static | getAllOwnedRepositoryObjects (int $user_id) |
static | fixMissingTitles ($type, array &$obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate (int $obj_id) |
static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
Protected Member Functions | |
initServices () | |
doCreateMetaData () | |
getParticipantTextResults (int $active_id) | |
checkTutorNotification () | |
Check, if mail to tutors after all participants have finished the survey should be sent. More... | |
sendTutorNotification () | |
Send mail to tutors after all participants have finished the survey. More... | |
sentReminderPlaceholders (string $a_message, int $a_user_id, array $a_context_params) | |
![]() | |
doMDUpdateListener (string $a_element) | |
beforeMDUpdateListener (string $a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDeleteMetaData () | |
beforeDeleteMetaData () | |
handleAutoRating () | |
hasAutoRating () | |
Definition at line 25 of file class.ilObjSurvey.php.
ilObjSurvey::__construct | ( | int | $a_id = 0 , |
bool | $a_call_by_reference = true |
||
) |
Definition at line 143 of file class.ilObjSurvey.php.
References $DIC, $ilUser, ilObject\$lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ilLoggerFactory\getLogger(), initServices(), ILIAS\Repository\lng(), ilLanguage\txt(), and ILIAS\Repository\user().
|
static |
Definition at line 1690 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilObject\$owner, and ilObject\$title.
|
static |
Definition at line 2118 of file class.ilObjSurvey.php.
|
static |
get question block properties
Definition at line 1672 of file class.ilObjSurvey.php.
Referenced by ilSurveyEvaluationGUI\evaluation(), and ilSurveyEditorGUI\initQuestionblockForm().
|
static |
Definition at line 2651 of file class.ilObjSurvey.php.
Referenced by ilSurveyConstraintsGUI\constraintsObject(), ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), ilSurveySyncTableGUI\importData(), ilSurveyEditorGUI\questionsObject(), ilSurveyPageEditGUI\renderPage(), ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm(), ilSurveyConstraintsGUI\validateConstraintForEdit(), and ILIAS\Survey\Settings\SettingsFormGUI\withAccess().
|
static |
Creates an instance of a question with a given question id.
Definition at line 3121 of file class.ilObjSurvey.php.
References SurveyQuestion\_getQuestionType(), and SurveyQuestion\_includeClass().
Referenced by ilSurveyEditorGUI\copyQuestionsToPoolObject(), ilSurveyEditorGUI\executeCopyQuestionsToPoolObject(), and ilSurveyPageEditGUI\paste().
ilObjSurvey::addAppraisee | ( | int | $a_user_id | ) |
Definition at line 4319 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ANONYMOUS_USER_ID, ilRBACAccessHandler\checkAccessOfUser(), getSurveyId(), isAppraisee(), and sendAppraiseeNotification().
ilObjSurvey::addConstraint | ( | int | $if_question_id, |
int | $relation, | ||
float | $value, | ||
int | $conjunction | ||
) |
Adds a constraint.
int | $if_question_id | question id of the question which defines a precondition |
int | $relation | relation id |
float | $value | value compared with the relation |
int | $conjunction |
Definition at line 2179 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::addConstraintToQuestion | ( | int | $to_question_id, |
int | $constraint_id | ||
) |
Definition at line 2205 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::addMaterialTag | ( | ilXmlWriter | $a_xml_writer, |
string | $a_material, | ||
bool | $close_material_tag = true , |
||
bool | $add_mobs = true , |
||
array | $attribs = null |
||
) |
Creates an XML material tag from a plain text or xhtml text.
Definition at line 4040 of file class.ilObjSurvey.php.
References $mobs, ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), IL_INST_ID, isHTML(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by toXML().
ilObjSurvey::addQuestion | ( | int | $question_id | ) |
Adds a question to the survey (used in importer!)
Definition at line 256 of file class.ilObjSurvey.php.
ilObjSurvey::addQuestionToBlock | ( | int | $question_id, |
int | $questionblock_id | ||
) |
Definition at line 1563 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, deleteConstraints(), getSurveyId(), and isQuestionInAnyBlock().
ilObjSurvey::addRater | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id = 0 |
||
) |
Definition at line 4520 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilRBACAccessHandler\checkAccessOfUser(), getSurveyId(), isAppraisee(), isRater(), and sendRaterNotification().
ilObjSurvey::canExportSurveyCode | ( | ) |
Checks if the survey code can be exported with the survey evaluation.
In some cases this may be necessary but usually you should prevent it because people who sent the survey codes could connect real people with the survey code in the evaluation and undermine the anonymity
Definition at line 4085 of file class.ilObjSurvey.php.
References getAnonymize().
ilObjSurvey::checkConstraint | ( | array | $constraint_data, |
?array | $working_data | ||
) |
Checks if a constraint is valid.
array | $constraint_data | constraint data |
?array | $working_data user input of the related question |
Definition at line 2589 of file class.ilObjSurvey.php.
References $data.
ilObjSurvey::checkReminder | ( | ) |
Definition at line 5356 of file class.ilObjSurvey.php.
References $access, ilObject\$db, $DIC, $ilDB, $message, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getStaticLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, getEndDate(), ilObject\getId(), ilObjectActivation\getItem(), getNotificationTargetUserIds(), ilObject\getOfflineStatus(), ilObject\getRefId(), getReminderEnd(), getReminderFrequency(), getReminderLastSent(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getStartDate(), ilObject\getTitle(), IL_CAL_DATE, IL_CAL_DAY, saveToDb(), sent360Reminders(), sentReminderPlaceholders(), setReminderLastSent(), and ilObjectActivation\TIMINGS_ACTIVATION.
|
protected |
Check, if mail to tutors after all participants have finished the survey should be sent.
Definition at line 5163 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getNotificationTargetUserIds(), getTutorNotificationStatus(), getTutorNotificationTarget(), and sendTutorNotification().
Referenced by finishSurvey().
ilObjSurvey::cloneTextblocks | ( | array | $mapping | ) |
Clones the text blocks of survey questions.
array<int,int> | $mapping (key is original, value is new id) |
Definition at line 3459 of file class.ilObjSurvey.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), getTextblock(), saveHeading(), and ilUtil\stripSlashes().
ilObjSurvey::closeAppraisee | ( | int | $a_user_id | ) |
Definition at line 4924 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilObject\getId(), getSkillService(), getSurveyId(), and sendAppraiseeCloseNotification().
ilObjSurvey::create | ( | $a_upload = false | ) |
Definition at line 208 of file class.ilObjSurvey.php.
References ilObject\$id, ilObject\createMetaData(), ilObject\setOfflineStatus(), and ilObject\update().
ilObjSurvey::createExportDirectory | ( | ) |
creates data directory for export files (data_dir/svy_data/svy_<id>/export)
ilSurveyException |
Definition at line 3474 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
ilObjSurvey::createImportDirectory | ( | ) |
creates data directory for import files (data_dir/svy_data/svy_<id>/import)
ilSurveyException |
Definition at line 3512 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
ilObjSurvey::createQuestionblock | ( | string | $title, |
bool | $show_questiontext, | ||
bool | $show_blocktitle, | ||
array | $questions, | ||
bool | $compress_view = false |
||
) |
int[] | $questions array with question ids |
Definition at line 1714 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $ilUser, $index, $user, deleteConstraints(), getSurveyId(), isQuestionInAnyBlock(), and moveQuestions().
Referenced by insertQuestionblock().
ilObjSurvey::createReference | ( | ) |
Definition at line 239 of file class.ilObjSurvey.php.
References saveToDb().
ilObjSurvey::delete | ( | ) |
Definition at line 261 of file class.ilObjSurvey.php.
References ilObject\countReferences(), ilFileUtils\delDir(), ilObject\deleteMetaData(), deleteSurveyRecord(), ilObject\getId(), getImportDirectory(), ilObject\getRefId(), ilObject\getTitle(), and removeQuestion().
ilObjSurvey::deleteAllUserData | ( | bool | $reset_LP = true | ) |
Deletes all user data of a survey.
bool | $reset_LP | notice that the LP can only be reset it the determining components still exist |
Definition at line 348 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObject\getId(), ilObjectLP\getInstance(), and getSurveyId().
Referenced by deleteSurveyRecord().
ilObjSurvey::deleteAppraisee | ( | int | $a_user_id | ) |
Definition at line 4464 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, deleteRater(), and get360SelfEvaluation().
ilObjSurvey::deleteConstraint | ( | int | $constraint_id | ) |
Deletes a single constraint.
Definition at line 1798 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by deleteConstraints(), and moveQuestions().
ilObjSurvey::deleteConstraints | ( | int | $question_id | ) |
Deletes the constraints for a question.
Definition at line 1776 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, deleteConstraint(), and getSurveyId().
Referenced by addQuestionToBlock(), and createQuestionblock().
ilObjSurvey::deleteRater | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id = 0 |
||
) |
Definition at line 4581 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getFinishedIdForAppraiseeIdAndRaterId(), and removeSelectedSurveyResults().
Referenced by deleteAppraisee().
ilObjSurvey::deleteSurveyCode | ( | string | $survey_code | ) |
Definition at line 3923 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::deleteSurveyRecord | ( | ) |
Deletes the survey from the database.
Definition at line 293 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $mobs, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), deleteAllUserData(), ilFileUtils\getDataDir(), ilObject\getId(), and getSurveyId().
Referenced by delete().
ilObjSurvey::deleteUserSettings | ( | int | $id | ) |
ilObjSurvey::deleteWorkingData | ( | int | $question_id, |
int | $active_id | ||
) |
Deletes the working data of a question in the database.
Definition at line 2294 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
|
protected |
Definition at line 219 of file class.ilObjSurvey.php.
References saveAuthorToMetadata().
ilObjSurvey::duplicateQuestionForSurvey | ( | int | $question_id, |
bool | $a_force = false |
||
) |
Takes a question and creates a copy of the question for use in the survey.
Definition at line 519 of file class.ilObjSurvey.php.
References ilObject\getId(), getQuestionGUI(), and getQuestionType().
Referenced by insertQuestion().
ilObjSurvey::findCodeForUser | ( | int | $a_user_id | ) |
Definition at line 4804 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and ANONYMOUS_USER_ID.
ilObjSurvey::finishSurvey | ( | int | $finished_id, |
int | $appr_id = 0 |
||
) |
Finishes the survey creating an entry in the database.
Definition at line 2334 of file class.ilObjSurvey.php.
References ilObject\$db, ilObject\$id, $ilDB, ANONYMOUS_USER_ID, checkTutorNotification(), getMode(), getRatersData(), getSurveyId(), getUserDataFromActiveId(), and ILIAS\Repository\user().
ilObjSurvey::fixSequenceStructure | ( | ) |
Definition at line 1071 of file class.ilObjSurvey.php.
References $data, $DIC, $ilDB, and getSurveyId().
ilObjSurvey::get360Mode | ( | ) |
Definition at line 4268 of file class.ilObjSurvey.php.
References getMode().
Referenced by getUserDataFromActiveId().
ilObjSurvey::get360Results | ( | ) |
Definition at line 4311 of file class.ilObjSurvey.php.
References $mode_360_results.
Referenced by ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsResults(), ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsResults(), importObject(), saveToDb(), and toXML().
ilObjSurvey::get360SelfAppraisee | ( | ) |
Definition at line 4291 of file class.ilObjSurvey.php.
References $mode_360_self_appr.
Referenced by importObject(), saveToDb(), sent360Reminders(), and toXML().
ilObjSurvey::get360SelfEvaluation | ( | ) |
Definition at line 4281 of file class.ilObjSurvey.php.
References $mode_360_self_eval.
Referenced by deleteAppraisee(), getAppraiseesToRate(), ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsGeneral(), importObject(), isRater(), saveToDb(), sent360Reminders(), and toXML().
ilObjSurvey::get360SelfRaters | ( | ) |
Definition at line 4301 of file class.ilObjSurvey.php.
References $mode_360_self_rate.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getActivationEndDate | ( | ) |
Definition at line 5527 of file class.ilObjSurvey.php.
References $activation_ending_time.
Referenced by saveToDb().
ilObjSurvey::getActivationStartDate | ( | ) |
Definition at line 5522 of file class.ilObjSurvey.php.
References $activation_starting_time.
Referenced by saveToDb().
ilObjSurvey::getActivationVisibility | ( | ) |
Definition at line 1319 of file class.ilObjSurvey.php.
References $activation_visibility.
Referenced by saveToDb().
ilObjSurvey::getActiveID | ( | int | $user_id, |
string | $anonymize_id, | ||
int | $appr_id | ||
) |
Get run id.
Definition at line 2531 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by sendNotificationMail().
ilObjSurvey::getAllRelations | ( | bool | $short_as_key = false | ) |
Definition at line 2260 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and ilArrayUtil\sortArray().
ilObjSurvey::getAnonymize | ( | ) |
Definition at line 947 of file class.ilObjSurvey.php.
References $anonymize.
Referenced by canExportSurveyCode(), getUserSurveyExecutionStatus(), hasAnonymizedResults(), importObject(), isAccessibleWithoutCode(), saveToDb(), ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm(), and toXML().
ilObjSurvey::getAnonymousIdByCode | ( | string | $a_code | ) |
Definition at line 4694 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and $res.
ilObjSurvey::getAppraiseesData | ( | ) |
Definition at line 4489 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $name, $res, ilObjUser\_lookupEmail(), ilObjUser\_lookupName(), and getRatersData().
Referenced by sent360Reminders().
ilObjSurvey::getAppraiseesToRate | ( | ?int | $a_user_id, |
int | $a_anonymous_id = null |
||
) |
Definition at line 4659 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, get360SelfEvaluation(), getSurveyId(), ILIAS\Repository\int(), and isAppraisee().
ilObjSurvey::getAuthor | ( | ) |
Definition at line 1156 of file class.ilObjSurvey.php.
References ilObject\$id, ilObject\getId(), and ilObject\getType().
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getAvailableQuestionpools | ( | bool | $use_obj_id = false , |
bool | $could_be_offline = false , |
||
bool | $showPath = false , |
||
string | $permission = "read" |
||
) |
Returns the available question pools for the active user.
Definition at line 2047 of file class.ilObjSurvey.php.
References ilObjSurveyQuestionPool\_getAvailableQuestionpools().
Referenced by getQuestionsTable().
ilObjSurvey::getCalculateSumScore | ( | ) |
Definition at line 958 of file class.ilObjSurvey.php.
References $calculate_sum_score.
Referenced by saveToDb().
ilObjSurvey::getConstraints | ( | int | $question_id | ) |
Returns the constraints to a given question or questionblock.
Definition at line 2083 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), and getSurveyId().
Referenced by getSurveyPages(), getSurveyQuestions(), SurveyConstraintsTableGUI\initItems(), and moveQuestions().
ilObjSurvey::getEndDate | ( | ) |
Definition at line 1240 of file class.ilObjSurvey.php.
References $end_date.
Referenced by checkReminder(), hasEnded(), importObject(), saveToDb(), and toXML().
ilObjSurvey::getEvaluationAccess | ( | ) |
Definition at line 1302 of file class.ilObjSurvey.php.
References $evaluation_access.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), importObject(), saveToDb(), and toXML().
ilObjSurvey::getEvaluationByUser | ( | array | $questions, |
int | $active_id | ||
) |
Calculates the evaluation data for a given run.
Definition at line 2791 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, and getUserDataFromActiveId().
ilObjSurvey::getExistingQuestions | ( | ) |
Gets the question id's of the questions which are already in the survey.
Definition at line 1348 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, getSurveyId(), and ILIAS\Repository\int().
Referenced by getQuestionsTable().
ilObjSurvey::getExportDirectory | ( | ) |
Definition at line 3499 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
ilObjSurvey::getExternalCodeRecipients | ( | bool | $a_check_finished = false | ) |
Definition at line 3867 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, getSurveyId(), and isSurveyFinishedByCode().
Referenced by sendCodes().
ilObjSurvey::getFinishedIdForAppraiseeIdAndRaterId | ( | int | $a_appr_id, |
int | $a_rat_id | ||
) |
Get finished id for an appraisee and a rater.
Definition at line 4869 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by deleteRater().
ilObjSurvey::getFinishedIdsForAppraiseeId | ( | int | $a_appr_id, |
bool | $a_exclude_appraisee = false |
||
) |
Definition at line 4844 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, and ILIAS\Repository\int().
ilObjSurvey::getImportDirectory | ( | ) |
get import directory of survey
Definition at line 3540 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDirParents().
Referenced by delete(), and importObject().
ilObjSurvey::getIntroduction | ( | ) |
Definition at line 1334 of file class.ilObjSurvey.php.
References $introduction.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getLastAccess | ( | int | $finished_id | ) |
Definition at line 3986 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::getLastActivePage | ( | int | $active_id | ) |
Returns the question id of the last active page a user visited in a survey.
Definition at line 2566 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::getMailAddresses | ( | ) |
(Tutor) Recipients of "single participant has finished" mails
Definition at line 4156 of file class.ilObjSurvey.php.
References $mailaddresses.
Referenced by importObject(), and saveToDb().
ilObjSurvey::getMailNotification | ( | ) |
Send mail to tutors each time a participant finishes the survey?
Definition at line 4140 of file class.ilObjSurvey.php.
References $mailnotification.
Referenced by importObject(), and saveToDb().
ilObjSurvey::getMailParticipantData | ( | ) |
Preceding text (incl.
placeholders) for "single participant has finished" mails
Definition at line 4172 of file class.ilObjSurvey.php.
References $mailparticipantdata.
Referenced by importObject(), and saveToDb().
ilObjSurvey::getMaxSumScore | ( | ) |
Definition at line 5681 of file class.ilObjSurvey.php.
References $c, ilObjSurveyQuestionPool\_getQuestionClasses(), and getSurveyId().
ilObjSurvey::getMode | ( | ) |
Definition at line 5632 of file class.ilObjSurvey.php.
References $mode.
Referenced by ILIAS\Survey\Settings\UIFactory\__construct(), ILIAS\Survey\Participants\StatusManager\__construct(), ILIAS\Survey\Settings\SettingsFormGUI\__construct(), ILIAS\Survey\Evaluation\EvaluationManager\__construct(), ILIAS\Survey\Execution\RunManager\__construct(), ilSurveyExecutionGUI\__construct(), finishSurvey(), get360Mode(), importObject(), initServices(), saveToDb(), ILIAS\Survey\Mode\AbstractUIModifier\setResultsDetailToolbar(), ILIAS\Survey\Mode\AbstractUIModifier\setResultsOverviewToolbar(), and toXML().
ilObjSurvey::getNextPage | ( | int | $active_page_question_id, |
int | $direction | ||
) |
Get current, previous or next page.
int | $active_page_question_id | The database id of one of the questions on that page |
int | $direction | The direction of the next page (-1 = previous page, 1 = next page) |
ilSurveyException |
Definition at line 2014 of file class.ilObjSurvey.php.
References ILIAS\LTI\ToolProvider\$key, and getSurveyPages().
ilObjSurvey::getNotificationTargetUserIds | ( | bool | $a_use_invited | ) |
These users must finish the survey to trigger the tutor notification "all users finished the survey" a) members of a parent group/course or b) all members that have been invited (svy_invitation) invitations are presented as tasks on the dashboard.
Definition at line 5299 of file class.ilObjSurvey.php.
References ilObject\$tree, ilObject\_lookupObjId(), ilTree\checkForParentType(), ilObject\getRefId(), and getSurveyId().
Referenced by checkReminder(), and checkTutorNotification().
ilObjSurvey::getOutro | ( | ) |
Definition at line 1339 of file class.ilObjSurvey.php.
References $outro.
Referenced by importObject(), saveToDb(), and toXML().
|
protected |
Definition at line 2502 of file class.ilObjSurvey.php.
References getSurveyQuestions(), and getUserSpecificResults().
Referenced by sendNotificationMail().
ilObjSurvey::getPoolUsage | ( | ) |
Definition at line 4216 of file class.ilObjSurvey.php.
References $pool_usage.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getPrecondition | ( | int | $constraint_id | ) |
Returns a precondition with a given id.
Definition at line 2060 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::getQuestionblockQuestionIds | ( | int | $questionblock_id | ) |
int | $questionblock_id |
Definition at line 1645 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, and ILIAS\Repository\int().
ilObjSurvey::getQuestionblockQuestions | ( | int | $questionblock_id | ) |
int | $questionblock_id |
Definition at line 1608 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by getQuestionblocksTable().
ilObjSurvey::getQuestionblocksTable | ( | array | $arrFilter | ) |
Retrieve data for question block browser.
Definition at line 2898 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, $rows, $survey_id, ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), and getQuestionblockQuestions().
Referenced by ilSurveyQuestionblockbrowserTableGUI\initData().
ilObjSurvey::getQuestionGUI | ( | string | $questiontype, |
int | $question_id | ||
) |
Definition at line 895 of file class.ilObjSurvey.php.
References SurveyQuestionGUI\_getQuestionGUI().
Referenced by duplicateQuestionForSurvey().
ilObjSurvey::getQuestionpoolTitles | ( | bool | $could_be_offline = false , |
bool | $showPath = false |
||
) |
Returns the available question pools for the active user.
Definition at line 1370 of file class.ilObjSurvey.php.
References ilObjSurveyQuestionPool\_getAvailableQuestionpools().
ilObjSurvey::getQuestionsTable | ( | array | $arrFilter | ) |
Retrieve data for question browser.
Definition at line 2834 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $rows, ilObjSurveyQuestionPool\_getQuestionTypeTranslations(), getAvailableQuestionpools(), getExistingQuestions(), and isPluginActive().
Referenced by ilSurveyQuestionbrowserTableGUI\initData().
ilObjSurvey::getQuestionType | ( | int | $question_id | ) |
Definition at line 903 of file class.ilObjSurvey.php.
References $data, ilObject\$db, and $ilDB.
Referenced by duplicateQuestionForSurvey().
ilObjSurvey::getRatersData | ( | int | $a_appraisee_id | ) |
Definition at line 4603 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, $name, $res, ilObjUser\_lookupEmail(), ilObjUser\_lookupName(), getSurveyCodesTableData(), and is360SurveyStarted().
Referenced by finishSurvey(), getAppraiseesData(), and sent360Reminders().
ilObjSurvey::getReminderEnd | ( | ) |
Definition at line 5031 of file class.ilObjSurvey.php.
References $reminder_end.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderFrequency | ( | ) |
Definition at line 5041 of file class.ilObjSurvey.php.
References $reminder_frequency.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderLastSent | ( | ) |
Definition at line 5061 of file class.ilObjSurvey.php.
References $reminder_last_sent.
Referenced by checkReminder(), and saveToDb().
ilObjSurvey::getReminderStart | ( | ) |
Definition at line 5021 of file class.ilObjSurvey.php.
References $reminder_start.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderStatus | ( | ) |
Definition at line 5011 of file class.ilObjSurvey.php.
References $reminder_status.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderTarget | ( | ) |
Definition at line 5051 of file class.ilObjSurvey.php.
References $reminder_target.
Referenced by checkReminder(), ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsReminderTargets(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsReminderTargets(), importObject(), saveToDb(), and sent360Reminders().
ilObjSurvey::getReminderTemplate | ( | bool | $selectDefault = false | ) |
Definition at line 5074 of file class.ilObjSurvey.php.
References $reminder_tmpl.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getSelfEvaluationResults | ( | ) |
Definition at line 5642 of file class.ilObjSurvey.php.
References $mode_self_eval_results.
Referenced by ILIAS\Survey\Mode\SelfEvaluation\UIModifier\getSurveySettingsResults(), saveToDb(), and toXML().
ilObjSurvey::getShowQuestionTitles | ( | ) |
Definition at line 1177 of file class.ilObjSurvey.php.
References $display_question_titles.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getSkillService | ( | ) |
Definition at line 4893 of file class.ilObjSurvey.php.
References $mode_skill_service.
Referenced by closeAppraisee(), importObject(), saveToDb(), and toXML().
ilObjSurvey::getStartDate | ( | ) |
Definition at line 1199 of file class.ilObjSurvey.php.
References $start_date.
Referenced by checkReminder(), hasStarted(), importObject(), saveToDb(), and toXML().
ilObjSurvey::getSurveyCodesForExport | ( | array | $a_codes = null , |
array | $a_ids = null |
||
) |
Return a list of survey codes for file export, note: user_key needs to be null to export a record.
?string[] | $a_codes array of all survey codes that should be exported, if null... |
?int[] | $a_ids array of anonymous ids that should be exported |
ilDateTimeException |
Definition at line 3604 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $ilUser, ilObject\$lng, $params, $user, ilLink\_getLink(), ilObject\getRefId(), getSurveyId(), IL_CAL_DATETIME, IL_CAL_UNIX, isSurveyCodeUsed(), and ilLanguage\txt().
ilObjSurvey::getSurveyCodesTableData | ( | array | $ids = null , |
string | $lang = null |
||
) |
Fetches the data for the survey codes table.
?string | $lang Language for the survey code URL |
Definition at line 3678 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $lang, $params, ilLink\_getLink(), ilObject\getRefId(), getSurveyId(), and isSurveyCodeUsed().
Referenced by getRatersData().
ilObjSurvey::getSurveyFinishedIds | ( | ) |
Get run ids.
Definition at line 2671 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getSurveyId(), and ILIAS\Repository\int().
ilObjSurvey::getSurveyId | ( | ) |
Definition at line 924 of file class.ilObjSurvey.php.
References $survey_id.
Referenced by ILIAS\Survey\Code\CodeManager\__construct(), ILIAS\Survey\Execution\RunManager\__construct(), addAppraisee(), addConstraintToQuestion(), addQuestionToBlock(), addRater(), closeAppraisee(), createQuestionblock(), deleteAllUserData(), deleteConstraints(), deleteSurveyCode(), deleteSurveyRecord(), finishSurvey(), fixSequenceStructure(), getActiveID(), getAppraiseesToRate(), getConstraints(), getExistingQuestions(), getExternalCodeRecipients(), ilSurveyParticipantsTableGUI\getItems(), getMaxSumScore(), getNotificationTargetUserIds(), getSurveyCodesForExport(), getSurveyCodesTableData(), getSurveyFinishedIds(), getSurveyPages(), getSurveyParticipants(), getSurveyQuestions(), ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), getUserAccessCode(), getUserSurveyExecutionStatus(), importObject(), importSurveyCode(), insertQuestion(), insertQuestionblock(), is360SurveyStarted(), isAnonymizedParticipant(), isRater(), isSurveyCodeUnique(), isSurveyCodeUsed(), isSurveyFinishedByCode(), loadQuestionsFromDb(), openAllAppraisees(), removeConstraintsConcerningQuestion(), removeQuestionFromBlock(), removeQuestions(), removeSelectedSurveyResults(), saveCompletionStatus(), saveHeading(), saveQuestionsToDb(), saveToDb(), saveUserAccessCode(), sendCodes(), set360RaterSent(), setObligatoryStates(), ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm(), toXML(), and unfoldQuestionblocks().
ilObjSurvey::getSurveyPages | ( | ) |
Returns the survey pages in an array (a page contains one or more questions)
Definition at line 1929 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $index, getConstraints(), and getSurveyId().
Referenced by getNextPage(), and toXML().
ilObjSurvey::getSurveyParticipants | ( | ?array | $finished_ids = null , |
bool | $force_non_anonymous = false , |
||
bool | $include_invites = false |
||
) |
Definition at line 445 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $name, ilObjUser\_lookupFullname(), ilObjUser\_lookupName(), getSurveyId(), and getUserDataFromActiveId().
Referenced by ilSurveyParticipantsTableGUI\getItems().
ilObjSurvey::getSurveyQuestions | ( | bool | $with_answers = false | ) |
Returns the survey questions and questionblocks in an array.
Definition at line 1818 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, getConstraints(), getSurveyId(), and isPluginActive().
Referenced by getParticipantTextResults(), getUserSpecificResults(), SurveyConstraintsTableGUI\initItems(), and removeQuestions().
|
static |
Definition at line 5572 of file class.ilObjSurvey.php.
References $DIC, ilObject\$lng, $res, ilSurveyMailTemplateReminderContext\ID, and ilLanguage\txt().
Referenced by ilSurveyResultsUserTableGUI\fillRow(), and SurveyQuestionEvaluation\getSkippedValue().
|
static |
Definition at line 5650 of file class.ilObjSurvey.php.
References $ilDB, ilObject\$log, $res, ilLogger\debug(), ilLoggerFactory\getLogger(), and ILIAS\Repository\int().
ilObjSurvey::getTextblock | ( | int | $question_id | ) |
Definition at line 3438 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by cloneTextblocks().
ilObjSurvey::getTutorNotificationRecipients | ( | ) |
Mail being sent to tutors after all participants have finished the survey?
Definition at line 5110 of file class.ilObjSurvey.php.
References $tutor_ntf_recipients.
Referenced by importObject(), saveToDb(), and sendTutorNotification().
ilObjSurvey::getTutorNotificationStatus | ( | ) |
Definition at line 5094 of file class.ilObjSurvey.php.
References $tutor_ntf_status.
Referenced by checkTutorNotification(), importObject(), and saveToDb().
ilObjSurvey::getTutorNotificationTarget | ( | ) |
Group that is checked for the "all participants have finished" mail Either a) all members of a parent group/course or b) all users which have been invited (svy_invitation) (= task on dashboard)
Definition at line 5129 of file class.ilObjSurvey.php.
References $tutor_ntf_target.
Referenced by checkTutorNotification(), importObject(), and saveToDb().
ilObjSurvey::getTutorResultsRecipients | ( | ) |
Definition at line 5149 of file class.ilObjSurvey.php.
References $tutor_res_recipients.
Referenced by importObject(), and saveToDb().
ilObjSurvey::getTutorResultsStatus | ( | ) |
Definition at line 5139 of file class.ilObjSurvey.php.
References $tutor_res_status.
Referenced by importObject(), and saveToDb().
ilObjSurvey::getUserAccessCode | ( | int | $user_id | ) |
Returns a survey access code that was saved for a registered user.
int | $user_id | The database id of the user |
Definition at line 3943 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::getUserData | ( | array | $ids | ) |
Returns a data of all users specified by id list.
int[] | $ids array of user id's |
Definition at line 4120 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::getUserDataFromActiveId | ( | int | $active_id, |
bool | $force_non_anonymous = false |
||
) |
Returns run information.
Definition at line 2724 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $name, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, get360Mode(), ilObjUser\getFirstname(), ilObjUser\getFullname(), ilObjUser\getGender(), ilObjUser\getLastname(), ilObjUser\getLogin(), hasAnonymizedResults(), and ILIAS\Repository\lng().
Referenced by finishSurvey(), getEvaluationByUser(), and getSurveyParticipants().
ilObjSurvey::getUserSettings | ( | int | $usr_id, |
string | $key | ||
) |
ilObjSurvey::getUserSpecificResults | ( | array | $finished_ids | ) |
Calculates the evaluation data for the user specific results.
int[] | $finished_ids |
Definition at line 2694 of file class.ilObjSurvey.php.
References $data, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), SurveyQuestion\_instanciateQuestionEvaluation(), and getSurveyQuestions().
Referenced by getParticipantTextResults().
ilObjSurvey::getUserSurveyExecutionStatus | ( | string | $a_code = null | ) |
Get current user execution status.
Generates a code in svy_anonymous for logged in raters, if codes are used Generates a code for the anonymous user, if the survey is set to anonymous and no codes are used
?string | $a_code |
Definition at line 4740 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $ilUser, $res, $user, ANONYMOUS_USER_ID, getAnonymize(), getSurveyId(), isAccessibleWithoutCode(), and isRater().
ilObjSurvey::getVariables | ( | int | $question_id | ) |
Returns all variables (answer options/scale values) of a question.
Definition at line 2151 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::getWorkingtimeForParticipant | ( | int | $finished_id | ) |
Definition at line 4188 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::hasAnonymizedResults | ( | ) |
Definition at line 971 of file class.ilObjSurvey.php.
References getAnonymize().
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), getUserDataFromActiveId(), and sendNotificationMail().
ilObjSurvey::hasAnonymousUserList | ( | ) |
Definition at line 5567 of file class.ilObjSurvey.php.
References $anon_user_list.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), importObject(), saveToDb(), and toXML().
ilObjSurvey::hasEnded | ( | ) |
Definition at line 1264 of file class.ilObjSurvey.php.
References getEndDate(), IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
ilObjSurvey::hasMailConfirmation | ( | ) |
Definition at line 5557 of file class.ilObjSurvey.php.
References $mail_confirmation.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::hasMailOwnResults | ( | ) |
Definition at line 5547 of file class.ilObjSurvey.php.
References $mail_own_results.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::hasStarted | ( | ) |
Definition at line 1254 of file class.ilObjSurvey.php.
References getStartDate(), IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
ilObjSurvey::hasViewOwnResults | ( | ) |
Definition at line 5537 of file class.ilObjSurvey.php.
References $view_own_results.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::importObject | ( | array | $file_info, |
int | $svy_qpl_id | ||
) |
Definition at line 3191 of file class.ilObjSurvey.php.
References $config, ilObject\$db, ilObject\$error, $ilDB, ILIAS\LTI\ToolProvider\$key, $source, $target_id, $xml, ilCopyWizardOptions\_getInstance(), SurveyQuestion\_getOriginalId(), ilObject\cloneMetaData(), get360Results(), get360SelfAppraisee(), get360SelfEvaluation(), get360SelfRaters(), getAnonymize(), getAuthor(), getEndDate(), getEvaluationAccess(), ilObject\getId(), getImportDirectory(), getIntroduction(), getMailAddresses(), getMailNotification(), getMailParticipantData(), getMode(), ilObject\getOfflineStatus(), getOutro(), getPoolUsage(), getReminderEnd(), getReminderFrequency(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getTutorNotificationRecipients(), getTutorNotificationStatus(), getTutorNotificationTarget(), getTutorResultsRecipients(), getTutorResultsStatus(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), hasViewOwnResults(), ILIAS\Repository\lng(), loadFromDb(), locateImportFiles(), ilFileUtils\moveUploadedFile(), and ilFileUtils\unzip().
ilObjSurvey::importSurveyCode | ( | string | $a_anonymize_key, |
int | $a_created, | ||
array | $a_data | ||
) |
Definition at line 3771 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
|
protected |
Definition at line 190 of file class.ilObjSurvey.php.
References getMode(), ilObject\getRefId(), and ILIAS\Repository\user().
Referenced by __construct(), and read().
ilObjSurvey::insertQuestion | ( | int | $question_id | ) |
Inserts a question in the survey and saves the relation to the database.
Definition at line 539 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, SurveyQuestion\_isComplete(), duplicateQuestionForSurvey(), getSurveyId(), isQuestionInSurvey(), loadQuestionsFromDb(), and saveCompletionStatus().
ilObjSurvey::insertQuestionblock | ( | int | $questionblock_id | ) |
Definition at line 598 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObject\$title, createQuestionblock(), and getSurveyId().
ilObjSurvey::is360SurveyStarted | ( | int | $appr_id, |
int | $user_id, | ||
string | $anonymous_code = null |
||
) |
Definition at line 4708 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by getRatersData(), and sent360Reminders().
ilObjSurvey::isAccessibleWithoutCode | ( | ) |
Definition at line 964 of file class.ilObjSurvey.php.
References getAnonymize().
Referenced by getUserSurveyExecutionStatus().
ilObjSurvey::isActivationLimited | ( | ) |
Definition at line 1324 of file class.ilObjSurvey.php.
References $activation_limited.
Referenced by saveToDb().
ilObjSurvey::isAnonymizedParticipant | ( | string | $key | ) |
string | $key | (access code) |
Definition at line 3583 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::isAppraisee | ( | int | $a_user_id | ) |
Definition at line 4434 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by addAppraisee(), addRater(), getAppraiseesToRate(), and isRater().
ilObjSurvey::isAppraiseeClosed | ( | int | $a_user_id | ) |
Definition at line 4448 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by sent360Reminders().
ilObjSurvey::isComplete | ( | ) |
Check if survey is complete for use.
Definition at line 494 of file class.ilObjSurvey.php.
References ilObject\getTitle().
Referenced by saveCompletionStatus(), and saveToDb().
ilObjSurvey::isHTML | ( | string | $a_text | ) |
Checks if a given string contains HTML or not.
Definition at line 4026 of file class.ilObjSurvey.php.
Referenced by addMaterialTag().
ilObjSurvey::isPluginActive | ( | string | $a_pname | ) |
Definition at line 4098 of file class.ilObjSurvey.php.
References $ilPluginAdmin, $plugin_admin, and ilComponentInfo\TYPE_MODULES.
Referenced by getQuestionsTable(), and getSurveyQuestions().
ilObjSurvey::isQuestionInAnyBlock | ( | int | $a_question_fi | ) |
Definition at line 1586 of file class.ilObjSurvey.php.
Referenced by addQuestionToBlock(), and createQuestionblock().
ilObjSurvey::isQuestionInSurvey | ( | int | $a_question_fi | ) |
Definition at line 581 of file class.ilObjSurvey.php.
Referenced by insertQuestion(), and saveQuestionsToDb().
ilObjSurvey::isRater | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id = 0 |
||
) |
Definition at line 4550 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, get360SelfEvaluation(), getSurveyId(), and isAppraisee().
Referenced by addRater(), and getUserSurveyExecutionStatus().
ilObjSurvey::isSurveyCodeUnique | ( | string | $code | ) |
Definition at line 3756 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::isSurveyCodeUsed | ( | string | $code | ) |
Definition at line 3741 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by getSurveyCodesForExport(), and getSurveyCodesTableData().
ilObjSurvey::isSurveyFinishedByCode | ( | string | $a_code | ) |
Get if survey is finished for a specific anonymous user code.
string | $a_code | anonymous user code |
Definition at line 3907 of file class.ilObjSurvey.php.
References getSurveyId().
Referenced by getExternalCodeRecipients().
ilObjSurvey::isUnusedCode | ( | string | $a_code, |
int | $a_user_id | ||
) |
Definition at line 4822 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ANONYMOUS_USER_ID, and ILIAS\Repository\int().
ilObjSurvey::loadFromDb | ( | ) |
Definition at line 977 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), ilObjectActivation\getItem(), IL_CAL_DATE, ILIAS\Repository\lng(), loadQuestionsFromDb(), set360Results(), set360SelfAppraisee(), set360SelfEvaluation(), set360SelfRaters(), setActivationEndDate(), setActivationLimited(), setActivationStartDate(), setActivationVisibility(), setAnonymize(), setAnonymousUserList(), setAuthor(), setCalculateSumScore(), setEndDate(), setEvaluationAccess(), setIntroduction(), setMailAddresses(), setMailConfirmation(), setMailNotification(), setMailOwnResults(), setMailParticipantData(), setMode(), setOutro(), setPoolUsage(), setReminderEnd(), setReminderFrequency(), setReminderLastSent(), setReminderStart(), setReminderStatus(), setReminderTarget(), setReminderTemplate(), setSelfEvaluationResults(), setShowQuestionTitles(), setSkillService(), setStartDate(), setSurveyId(), setTutorNotificationRecipients(), setTutorNotificationStatus(), setTutorNotificationTarget(), setTutorResultsRecipients(), setTutorResultsStatus(), setViewOwnResults(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by importObject(), and read().
ilObjSurvey::loadQuestionsFromDb | ( | ) |
Definition at line 1056 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, and getSurveyId().
Referenced by insertQuestion(), and loadFromDb().
ilObjSurvey::loadWorkingData | ( | int | $question_id, |
int | $active_id | ||
) |
Gets the given answer data of a question in a run.
Definition at line 2311 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::locateImportFiles | ( | string | $a_dir | ) |
Locates the import directory and the xml file in a directory with an unzipped import file.
Definition at line 3142 of file class.ilObjSurvey.php.
Referenced by importObject().
ilObjSurvey::modifyQuestionblock | ( | int | $questionblock_id, |
string | $title, | ||
bool | $show_questiontext, | ||
bool | $show_blocktitle, | ||
bool | $compress_view = false |
||
) |
Definition at line 1756 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::moveQuestions | ( | array | $move_questions, |
int | $target_index, | ||
int | $insert_mode | ||
) |
Move questions and/or questionblocks to another position.
array | $move_questions | An array with the question id's of the questions to move |
int | $target_index | The question id of the target position |
int | $insert_mode | 0, if insert before the target position, 1 if insert after the target position |
Definition at line 1384 of file class.ilObjSurvey.php.
References deleteConstraint(), getConstraints(), and saveQuestionsToDb().
Referenced by createQuestionblock().
ilObjSurvey::openAllAppraisees | ( | ) |
Definition at line 4954 of file class.ilObjSurvey.php.
References ilObject\$db, $DIC, $ilDB, and getSurveyId().
ilObjSurvey::prepareTextareaOutput | ( | string | $txt_output | ) |
Prepares a string for a text area output in surveys.
Definition at line 4016 of file class.ilObjSurvey.php.
References ilLegacyFormElementsUtil\prepareTextareaOutput().
ilObjSurvey::read | ( | ) |
Definition at line 246 of file class.ilObjSurvey.php.
References initServices(), and loadFromDb().
ilObjSurvey::removeConstraintsConcerningQuestion | ( | int | $question_id | ) |
Remove constraints concerning a question with a given question_id.
Definition at line 1448 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, and getSurveyId().
Referenced by removeQuestion().
ilObjSurvey::removeQuestion | ( | int | $question_id | ) |
Definition at line 1433 of file class.ilObjSurvey.php.
References removeConstraintsConcerningQuestion().
Referenced by delete(), and removeQuestions().
ilObjSurvey::removeQuestionFromBlock | ( | int | $question_id, |
int | $questionblock_id | ||
) |
Definition at line 1547 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::removeQuestions | ( | array | $remove_questions, |
array | $remove_questionblocks | ||
) |
int[] | $remove_questions question ids of the questions to remove |
int[] | $remove_questionblocks questionblock ids of the questions blocks to remove |
Definition at line 1482 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, getSurveyId(), getSurveyQuestions(), removeQuestion(), and saveQuestionsToDb().
ilObjSurvey::removeSelectedSurveyResults | ( | array | $finished_ids | ) |
Deletes the user data of a given array of survey participants.
Definition at line 394 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObject\getId(), ilObjectLP\getInstance(), getSurveyId(), and ILIAS\Repository\int().
Referenced by deleteRater().
ilObjSurvey::saveAuthorToMetadata | ( | string | $a_author = "" | ) |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" surveys where the author hasn't been stored in the lifecycle metadata.
Definition at line 1133 of file class.ilObjSurvey.php.
References $ilUser, $user, ilObject\getId(), and ilObject\getType().
Referenced by doCreateMetaData().
ilObjSurvey::saveCompletionStatus | ( | ) |
Saves the completion status of the survey.
Definition at line 503 of file class.ilObjSurvey.php.
References ilObject\$db, getSurveyId(), isComplete(), and ilDBInterface\manipulateF().
Referenced by insertQuestion().
ilObjSurvey::saveHeading | ( | string | $heading, |
int | $insertbefore | ||
) |
string | $heading | |
int | $insertbefore | question id which gets the heading (before) |
Definition at line 3559 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by cloneTextblocks().
ilObjSurvey::saveQuestionsToDb | ( | ) |
Definition at line 827 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $update, getSurveyId(), and isQuestionInSurvey().
Referenced by moveQuestions(), removeQuestions(), saveToDb(), and updateOrder().
ilObjSurvey::saveToDb | ( | ) |
Definition at line 690 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilRTE\_replaceMediaObjectImageSrc(), get360Results(), get360SelfAppraisee(), get360SelfEvaluation(), get360SelfRaters(), getActivationEndDate(), getActivationStartDate(), getActivationVisibility(), getAnonymize(), getAuthor(), getCalculateSumScore(), getEndDate(), getEvaluationAccess(), ilObject\getId(), getIntroduction(), ilObjectActivation\getItem(), getMailAddresses(), getMailNotification(), getMailParticipantData(), getMode(), getOutro(), getPoolUsage(), getReminderEnd(), getReminderFrequency(), getReminderLastSent(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getSelfEvaluationResults(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getTutorNotificationRecipients(), getTutorNotificationStatus(), getTutorNotificationTarget(), getTutorResultsRecipients(), getTutorResultsStatus(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), hasViewOwnResults(), IL_CAL_DATE, isActivationLimited(), isComplete(), saveQuestionsToDb(), setSurveyId(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by checkReminder(), and createReference().
ilObjSurvey::saveUserAccessCode | ( | int | $user_id, |
string | $access_code | ||
) |
Saves a survey access code for a registered user to the database.
int | $user_id | The database id of the user |
string | $access_code | The survey access code |
Definition at line 3965 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::saveUserSettings | ( | int | $usr_id, |
string | $key, | ||
string | $title, | ||
string | $value | ||
) |
ilObjSurvey::send360ReminderToUser | ( | int | $a_user_id, |
array | $a_appraisee_ids | ||
) |
Definition at line 5259 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilUserUtil\getNamePresentation(), ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Referenced by sent360Reminders().
ilObjSurvey::sendAppraiseeCloseNotification | ( | int | $a_user_id | ) |
Definition at line 4374 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Referenced by closeAppraisee().
ilObjSurvey::sendAppraiseeNotification | ( | int | $a_user_id | ) |
Definition at line 4345 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Referenced by addAppraisee().
ilObjSurvey::sendCodes | ( | int | $not_sent, |
string | $subject, | ||
string | $message, | ||
string | $lang | ||
) |
Definition at line 3790 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, $message, $url, ilLink\_getLink(), ANONYMOUS_USER_ID, getExternalCodeRecipients(), ilObject\getRefId(), and getSurveyId().
ilObjSurvey::sendNotificationMail | ( | int | $a_user_id, |
string | $a_anonymize_id, | ||
int | $a_appr_id = 0 |
||
) |
These mails are sent to tutors for each single participant that finishes a survey.
It includes the "additional participant data" text that can be set in the settings screen.
ilWACException |
Definition at line 2409 of file class.ilObjSurvey.php.
References $data, ILIAS\LTI\ToolProvider\$key, $mailparticipantdata, ilObjUser\_getUserData(), ilObjUser\_lookupId(), getActiveID(), ilUserUtil\getNamePresentation(), getParticipantTextResults(), ilObject\getRefId(), ilObjUser\getUserIdsByEmail(), hasAnonymizedResults(), and ILIAS\Repository\int().
ilObjSurvey::sendRaterNotification | ( | int | $a_user_id, |
int | $a_appraisee_id | ||
) |
Definition at line 4403 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilUserUtil\getNamePresentation(), ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Referenced by addRater().
|
protected |
Send mail to tutors after all participants have finished the survey.
Definition at line 5326 of file class.ilObjSurvey.php.
References $message, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getStaticLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), and getTutorNotificationRecipients().
Referenced by checkTutorNotification().
ilObjSurvey::sent360Reminders | ( | ) |
Send 360 reminders.
Definition at line 5190 of file class.ilObjSurvey.php.
References $app, $DIC, ilObject\$id, ilObjUser\_lookupId(), ilRBACAccessHandler\checkAccessOfUser(), get360SelfAppraisee(), get360SelfEvaluation(), getAppraiseesData(), getRatersData(), getReminderTarget(), is360SurveyStarted(), isAppraiseeClosed(), and send360ReminderToUser().
Referenced by checkReminder().
|
protected |
Definition at line 5607 of file class.ilObjSurvey.php.
References $context, Vendor\Package\$e, ilLoggerFactory\getLogger(), ilMailTemplateContextService\getTemplateContextById(), and ilSurveyMailTemplateReminderContext\ID.
Referenced by checkReminder().
ilObjSurvey::set360RaterSent | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id, | ||
int | $a_tstamp = null |
||
) |
Definition at line 4901 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::set360Results | ( | int | $a_value | ) |
Definition at line 4306 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
ilObjSurvey::set360SelfAppraisee | ( | bool | $a_value | ) |
Definition at line 4286 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::set360SelfEvaluation | ( | bool | $a_value | ) |
Definition at line 4276 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
ilObjSurvey::set360SelfRaters | ( | bool | $a_value | ) |
Definition at line 4296 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationEndDate | ( | int | $ending_time = null | ) |
Definition at line 5516 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationLimited | ( | bool | $a_value | ) |
Definition at line 1329 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationStartDate | ( | int | $starting_time = null | ) |
Definition at line 5510 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationVisibility | ( | bool | $a_value | ) |
Definition at line 1313 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setAnonymize | ( | int | $a_anonymize | ) |
set anonymize status
Definition at line 932 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
ilObjSurvey::setAnonymousUserList | ( | bool | $a_value | ) |
Definition at line 5562 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
ilObjSurvey::setAuthor | ( | string | $author = "" | ) |
Definition at line 1122 of file class.ilObjSurvey.php.
References $author.
Referenced by loadFromDb().
ilObjSurvey::setCalculateSumScore | ( | bool | $a_val | ) |
Definition at line 952 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
ilObjSurvey::setEndDate | ( | string | $end_date = "" | ) |
string | $end_date | (YYYYMMDDHHMMSS) |
Definition at line 1248 of file class.ilObjSurvey.php.
References $end_date.
Referenced by loadFromDb().
ilObjSurvey::setEndDateAndTime | ( | string | $end_date, |
string | $end_time | ||
) |
string | $end_date | (YYYY-MM-DD) |
string | $end_time | (HH:MM:SS) |
Definition at line 1278 of file class.ilObjSurvey.php.
ilObjSurvey::setEvaluationAccess | ( | string | $evaluation_access = self::EVALUATION_ACCESS_OFF | ) |
Definition at line 1307 of file class.ilObjSurvey.php.
References $evaluation_access.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
ilObjSurvey::setIntroduction | ( | string | $introduction = "" | ) |
Definition at line 1187 of file class.ilObjSurvey.php.
References $introduction.
Referenced by loadFromDb().
ilObjSurvey::setMailAddresses | ( | string | $a_addresses | ) |
Set (Tutor) Recipients of "single participant has finished" mails.
Definition at line 4164 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMailConfirmation | ( | bool | $a_value | ) |
Definition at line 5552 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMailNotification | ( | bool | $a_notification | ) |
Activate mail to tutors each time a participant finishes the survey.
Definition at line 4148 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMailOwnResults | ( | bool | $a_value | ) |
Definition at line 5542 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMailParticipantData | ( | string | $a_data | ) |
Set preceding text (incl.
placeholders) for "single participant has finished" mails
Definition at line 4180 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMode | ( | int | $a_value | ) |
Definition at line 5627 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setObligatoryStates | ( | array | $obligatory_questions | ) |
Sets the obligatory states for questions in a survey from the questions form.
array | $obligatory_questions | key is question id, value should be bool value |
Definition at line 1900 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::setOutro | ( | string | $outro = "" | ) |
Definition at line 1193 of file class.ilObjSurvey.php.
References $outro.
Referenced by loadFromDb().
ilObjSurvey::setPage | ( | int | $finished_id, |
int | $page_id | ||
) |
Sets the number of the active survey page.
int | $finished_id | id of the active user |
int | $page_id | index of the page |
Definition at line 2390 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::setPoolUsage | ( | bool | $a_value | ) |
Definition at line 4221 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderEnd | ( | ?ilDate | $a_value = null | ) |
Definition at line 5036 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderFrequency | ( | int | $a_value | ) |
Definition at line 5046 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderLastSent | ( | ?string | $a_value | ) |
Definition at line 5066 of file class.ilObjSurvey.php.
Referenced by checkReminder(), and loadFromDb().
ilObjSurvey::setReminderStart | ( | ?ilDate | $a_value = null | ) |
Definition at line 5026 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderStatus | ( | bool | $a_value | ) |
Definition at line 5016 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderTarget | ( | int | $a_value | ) |
Definition at line 5056 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
ilObjSurvey::setReminderTemplate | ( | ?int | $a_value | ) |
Definition at line 5089 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setSelfEvaluationResults | ( | int | $a_value | ) |
Definition at line 5637 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\SelfEvaluation\UIModifier\setValuesFromForm().
ilObjSurvey::setShowQuestionTitles | ( | bool | $a_show | ) |
Definition at line 1182 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setSkillService | ( | bool | $a_val | ) |
Definition at line 4888 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setStartDate | ( | string | $start_date = "" | ) |
string | $start_date | (YYYYMMDDHHMMSS) |
Definition at line 1207 of file class.ilObjSurvey.php.
References $start_date.
Referenced by loadFromDb().
ilObjSurvey::setStartDateAndTime | ( | string | $start_date, |
string | $start_time | ||
) |
string | $start_date | (YYYY-MM-DD) |
string | $start_time | (HH:MM:SS) |
Definition at line 1217 of file class.ilObjSurvey.php.
ilObjSurvey::setSurveyId | ( | int | $survey_id | ) |
Definition at line 4108 of file class.ilObjSurvey.php.
References $survey_id.
Referenced by loadFromDb(), and saveToDb().
ilObjSurvey::setTutorNotificationRecipients | ( | array | $a_value | ) |
Set tutor recipients for "all participants have finished" mail.
Definition at line 5118 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setTutorNotificationStatus | ( | bool | $a_value | ) |
Activates mail being sent to tutors after all participants have finished the survey.
Definition at line 5102 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setTutorNotificationTarget | ( | int | $a_value | ) |
Definition at line 5134 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setTutorResultsRecipients | ( | array | $a_value | ) |
Definition at line 5154 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setTutorResultsStatus | ( | bool | $a_value | ) |
Definition at line 5144 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setViewOwnResults | ( | bool | $a_value | ) |
Definition at line 5532 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::toXML | ( | ) |
Returns a QTI xml representation of the survey.
Definition at line 2945 of file class.ilObjSurvey.php.
References $xml, addMaterialTag(), get360Results(), get360SelfAppraisee(), get360SelfEvaluation(), get360SelfRaters(), getAnonymize(), getAuthor(), ilObject\getDescription(), getEndDate(), getEvaluationAccess(), ilObject\getId(), getIntroduction(), getMode(), ilObject\getOfflineStatus(), getOutro(), getPoolUsage(), getSelfEvaluationResults(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getSurveyPages(), ilObject\getTitle(), ilObject\getType(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), hasViewOwnResults(), and ILIAS\Repository\int().
ilObjSurvey::unfoldQuestionblocks | ( | array | $questionblocks | ) |
int[] | $questionblocks question block ids |
Definition at line 1526 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $index, and getSurveyId().
ilObjSurvey::update | ( | $a_upload = false | ) |
Definition at line 224 of file class.ilObjSurvey.php.
References ilObject\updateMetaData().
ilObjSurvey::updateCode | ( | int | $a_id, |
string | $a_email, | ||
string | $a_last_name, | ||
string | $a_first_name, | ||
int | $a_sent | ||
) |
Definition at line 4229 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, and ilUtil\is_email().
ilObjSurvey::updateConjunctionForQuestions | ( | array | $questions, |
int | $conjunction | ||
) |
Definition at line 2242 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::updateConstraint | ( | int | $precondition_id, |
int | $if_question_id, | ||
int | $relation, | ||
float | $value, | ||
int | $conjunction | ||
) |
Definition at line 2223 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::updateOrder | ( | array | $a_order | ) |
Definition at line 4207 of file class.ilObjSurvey.php.
References saveQuestionsToDb().
|
protected |
Definition at line 68 of file class.ilObjSurvey.php.
Referenced by checkReminder().
|
protected |
Definition at line 105 of file class.ilObjSurvey.php.
Referenced by getActivationEndDate().
|
protected |
Definition at line 66 of file class.ilObjSurvey.php.
Referenced by isActivationLimited().
|
protected |
Definition at line 104 of file class.ilObjSurvey.php.
Referenced by getActivationStartDate().
|
protected |
Definition at line 103 of file class.ilObjSurvey.php.
Referenced by getActivationVisibility().
|
protected |
Definition at line 132 of file class.ilObjSurvey.php.
Referenced by hasAnonymousUserList().
int ilObjSurvey::$anonymize = 0 |
Definition at line 92 of file class.ilObjSurvey.php.
Referenced by getAnonymize().
string ilObjSurvey::$author = "" |
A text representation of the authors name.
The name of the author must not necessary be the name of the owner.
Definition at line 80 of file class.ilObjSurvey.php.
Referenced by setAuthor().
|
protected |
Definition at line 70 of file class.ilObjSurvey.php.
Referenced by getCalculateSumScore().
|
protected |
Definition at line 138 of file class.ilObjSurvey.php.
|
protected |
Definition at line 139 of file class.ilObjSurvey.php.
int ilObjSurvey::$display_question_titles = 0 |
Definition at line 94 of file class.ilObjSurvey.php.
Referenced by getShowQuestionTitles().
string ilObjSurvey::$end_date = "" |
Definition at line 88 of file class.ilObjSurvey.php.
Referenced by getEndDate(), and setEndDate().
string ilObjSurvey::$evaluation_access = self::EVALUATION_ACCESS_OFF |
Definition at line 84 of file class.ilObjSurvey.php.
Referenced by getEvaluationAccess(), and setEvaluationAccess().
|
protected |
Definition at line 140 of file class.ilObjSurvey.php.
|
protected |
Definition at line 141 of file class.ilObjSurvey.php.
string ilObjSurvey::$introduction = "" |
Definition at line 81 of file class.ilObjSurvey.php.
Referenced by getIntroduction(), and setIntroduction().
|
protected |
Definition at line 136 of file class.ilObjSurvey.php.
|
protected |
Definition at line 130 of file class.ilObjSurvey.php.
Referenced by hasMailConfirmation().
|
protected |
Definition at line 129 of file class.ilObjSurvey.php.
Referenced by hasMailOwnResults().
string ilObjSurvey::$mailaddresses = "" |
Definition at line 99 of file class.ilObjSurvey.php.
Referenced by getMailAddresses().
bool ilObjSurvey::$mailnotification = false |
Definition at line 98 of file class.ilObjSurvey.php.
Referenced by getMailNotification().
string ilObjSurvey::$mailparticipantdata = "" |
Definition at line 100 of file class.ilObjSurvey.php.
Referenced by getMailParticipantData(), and sendNotificationMail().
|
protected |
Definition at line 133 of file class.ilObjSurvey.php.
Referenced by getMode().
|
protected |
Definition at line 111 of file class.ilObjSurvey.php.
Referenced by get360Results().
|
protected |
Definition at line 109 of file class.ilObjSurvey.php.
Referenced by get360SelfAppraisee().
|
protected |
Definition at line 108 of file class.ilObjSurvey.php.
Referenced by get360SelfEvaluation().
|
protected |
Definition at line 110 of file class.ilObjSurvey.php.
Referenced by get360SelfRaters().
|
protected |
Definition at line 134 of file class.ilObjSurvey.php.
Referenced by getSelfEvaluationResults().
|
protected |
Definition at line 112 of file class.ilObjSurvey.php.
Referenced by getSkillService().
string ilObjSurvey::$outro = "" |
Definition at line 82 of file class.ilObjSurvey.php.
Referenced by getOutro(), and setOutro().
|
protected |
Definition at line 69 of file class.ilObjSurvey.php.
Referenced by isPluginActive().
bool ilObjSurvey::$pool_usage = false |
Definition at line 101 of file class.ilObjSurvey.php.
Referenced by getPoolUsage().
array ilObjSurvey::$questions = [] |
Definition at line 90 of file class.ilObjSurvey.php.
|
protected |
Definition at line 117 of file class.ilObjSurvey.php.
Referenced by getReminderEnd().
|
protected |
Definition at line 118 of file class.ilObjSurvey.php.
Referenced by getReminderFrequency().
|
protected |
Definition at line 120 of file class.ilObjSurvey.php.
Referenced by getReminderLastSent().
|
protected |
Definition at line 116 of file class.ilObjSurvey.php.
Referenced by getReminderStart().
|
protected |
Definition at line 115 of file class.ilObjSurvey.php.
Referenced by getReminderStatus().
|
protected |
Definition at line 119 of file class.ilObjSurvey.php.
Referenced by getReminderTarget().
|
protected |
Definition at line 121 of file class.ilObjSurvey.php.
Referenced by getReminderTemplate().
string ilObjSurvey::$start_date = "" |
Definition at line 86 of file class.ilObjSurvey.php.
Referenced by getStartDate(), and setStartDate().
int ilObjSurvey::$survey_id = 0 |
A unique positive numerical ID which identifies the survey.
This is the primary key from a database table.
Definition at line 75 of file class.ilObjSurvey.php.
Referenced by getQuestionblocksTable(), getSurveyId(), and setSurveyId().
|
protected |
Definition at line 137 of file class.ilObjSurvey.php.
bool ilObjSurvey::$surveyCodeSecurity = false |
Definition at line 96 of file class.ilObjSurvey.php.
|
protected |
Definition at line 65 of file class.ilObjSurvey.php.
|
protected |
Definition at line 123 of file class.ilObjSurvey.php.
Referenced by getTutorNotificationRecipients().
|
protected |
Definition at line 122 of file class.ilObjSurvey.php.
Referenced by getTutorNotificationStatus().
|
protected |
Definition at line 124 of file class.ilObjSurvey.php.
Referenced by getTutorNotificationTarget().
|
protected |
Definition at line 126 of file class.ilObjSurvey.php.
Referenced by getTutorResultsRecipients().
|
protected |
Definition at line 125 of file class.ilObjSurvey.php.
Referenced by getTutorResultsStatus().
|
protected |
Definition at line 67 of file class.ilObjSurvey.php.
Referenced by createQuestionblock(), getSurveyCodesForExport(), getUserSurveyExecutionStatus(), and saveAuthorToMetadata().
|
protected |
Definition at line 128 of file class.ilObjSurvey.php.
Referenced by hasViewOwnResults().
const ilObjSurvey::ANONYMIZE_CODE_ALL = 3 |
Definition at line 34 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\afterSave(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::ANONYMIZE_FREEACCESS = 2 |
Definition at line 33 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::ANONYMIZE_OFF = 0 |
Definition at line 31 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::ANONYMIZE_ON = 1 |
Definition at line 32 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::EVALUATION_ACCESS_ALL = "1" |
Definition at line 28 of file class.ilObjSurvey.php.
Referenced by ilSurveyEvaluationGUI\evaluation(), and ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults().
const ilObjSurvey::EVALUATION_ACCESS_OFF = "0" |
Definition at line 27 of file class.ilObjSurvey.php.
Referenced by ilSurveyEvaluationGUI\evaluation(), and ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults().
const ilObjSurvey::EVALUATION_ACCESS_PARTICIPANTS = "2" |
Definition at line 29 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\afterSave(), ilSurveyEvaluationGUI\evaluation(), and ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults().
const ilObjSurvey::MODE_360 = 1 |
Definition at line 45 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), ilObjSurveyAccess\_lookup360Mode(), ilObjSurveyGUI\afterSave(), ilSurveyExecutionGUI\backToRepository(), ilObjSurveyListGUI\getProperties(), ilSurveyExecutionGUI\runShowFinishedPage(), and ilSurveySkill\writeAndAddSelfEvalSkills().
const ilObjSurvey::MODE_IND_FEEDB = 3 |
Definition at line 47 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), ilObjSurveyGUI\afterSave(), ilSurveyEvaluationGUI\evaluation(), ILIAS\Survey\Evaluation\EvaluationManager\getFilteredFinishedIds(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableRaters(), ilSurveyEvaluationGUI\openEvaluation(), and ilSurveyEvaluationGUI\setEvalSubtabs().
const ilObjSurvey::MODE_SELF_EVAL = 2 |
Definition at line 46 of file class.ilObjSurvey.php.
Referenced by ilSurveyExecutionGUI\__construct(), ilObjSurveyAccess\_hasEvaluationAccess(), ilObjSurveyGUI\afterSave(), ilSurveyExecutionGUI\checkAuth(), ILIAS\Survey\Execution\RunManager\checkUserParameters(), ilSurveyEvaluationGUI\evaluationuser(), ILIAS\Survey\Evaluation\EvaluationManager\getFilteredFinishedIds(), ilObjSurveyListGUI\getProperties(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), ilSurveyParticipantsGUI\maintenanceObject(), ilSurveyEvaluationGUI\sumscore(), and ilSurveySkill\writeAndAddSelfEvalSkills().
const ilObjSurvey::MODE_STANDARD = 0 |
Definition at line 44 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\getTabs().
const ilObjSurvey::NOTIFICATION_APPRAISEES = 3 |
Definition at line 60 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsReminderTargets(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsReminderTargets(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
const ilObjSurvey::NOTIFICATION_APPRAISEES_AND_RATERS = 5 |
Definition at line 62 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsReminderTargets(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsReminderTargets(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
const ilObjSurvey::NOTIFICATION_INVITED_USERS = 2 |
Definition at line 59 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Settings\SettingsFormGUI\withAfterEnd(), and ILIAS\Survey\Settings\SettingsFormGUI\withReminders().
const ilObjSurvey::NOTIFICATION_PARENT_COURSE = 1 |
Definition at line 58 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Settings\SettingsFormGUI\withAfterEnd(), and ILIAS\Survey\Settings\SettingsFormGUI\withReminders().
const ilObjSurvey::NOTIFICATION_RATERS = 4 |
Definition at line 61 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsReminderTargets(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsReminderTargets(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
const ilObjSurvey::PRINT_HIDE_LABELS = 1 |
Definition at line 40 of file class.ilObjSurvey.php.
Referenced by SurveyQuestionGUI\getPrintViewQuestionTitle(), and SurveyQuestionGUI\getQuestionTitle().
const ilObjSurvey::PRINT_SHOW_LABELS = 3 |
Definition at line 41 of file class.ilObjSurvey.php.
Referenced by SurveyQuestionGUI\getPrintViewQuestionTitle(), and SurveyQuestionGUI\getQuestionTitle().
const ilObjSurvey::QUESTIONTITLES_HIDDEN = 0 |
Definition at line 36 of file class.ilObjSurvey.php.
const ilObjSurvey::QUESTIONTITLES_VISIBLE = 1 |
Definition at line 37 of file class.ilObjSurvey.php.
const ilObjSurvey::RESULTS_360_ALL = 2 |
Definition at line 56 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), ILIAS\Survey\InfoScreen\InfoScreenGUI\addPrivacyInfo(), ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsResults(), and ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
const ilObjSurvey::RESULTS_360_NONE = 0 |
Definition at line 54 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsResults(), and ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsResults().
const ilObjSurvey::RESULTS_360_OWN = 1 |
Definition at line 55 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), ILIAS\Survey\InfoScreen\InfoScreenGUI\addPrivacyInfo(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsResults(), and ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsResults().
const ilObjSurvey::RESULTS_SELF_EVAL_ALL = 2 |
const ilObjSurvey::RESULTS_SELF_EVAL_NONE = 0 |
Definition at line 50 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), and ILIAS\Survey\Mode\SelfEvaluation\UIModifier\getSurveySettingsResults().
const ilObjSurvey::RESULTS_SELF_EVAL_OWN = 1 |
Definition at line 51 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\SelfEvaluation\UIModifier\getSurveySettingsResults().