ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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... | |
hasQuestions () | |
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... | |
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 () | |
getReminderMailTemplates (?int &$defaultTemplateId=null) | |
setMode (int $a_value) | |
getMode () | |
setSelfEvaluationResults (int $a_value) | |
getSelfEvaluationResults () | |
getMaxSumScore () | |
![]() | |
getObjectProperties () | |
flushObjectProperties () | |
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 $description) | |
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 | getIconForType (string $type) |
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 26 of file class.ilObjSurvey.php.
ilObjSurvey::__construct | ( | int | $a_id = 0 , |
bool | $a_call_by_reference = true |
||
) |
Definition at line 145 of file class.ilObjSurvey.php.
References $DIC, 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 1674 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilObject\$owner, and ilObject\$title.
|
static |
Definition at line 2100 of file class.ilObjSurvey.php.
|
static |
get question block properties
Definition at line 1656 of file class.ilObjSurvey.php.
Referenced by ilSurveyEvaluationGUI\evaluation(), and ilSurveyEditorGUI\initQuestionblockForm().
|
static |
Definition at line 2634 of file class.ilObjSurvey.php.
Referenced by ilSurveyConstraintsGUI\constraintsObject(), ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), ilSurveySyncTableGUI\importData(), ilSurveyEditorGUI\questionsObject(), 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 3092 of file class.ilObjSurvey.php.
References SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), and null.
Referenced by ilSurveyEditorGUI\copyPasteObject(), ilSurveyEditorGUI\copyQuestionsToPoolObject(), and ilSurveyEditorGUI\executeCopyQuestionsToPoolObject().
ilObjSurvey::addAppraisee | ( | int | $a_user_id | ) |
Definition at line 4275 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 2161 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and null.
ilObjSurvey::addConstraintToQuestion | ( | int | $to_question_id, |
int | $constraint_id | ||
) |
Definition at line 2187 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 4009 of file class.ilObjSurvey.php.
References ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), IL_INST_ID, isHTML(), null, 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 260 of file class.ilObjSurvey.php.
ilObjSurvey::addQuestionToBlock | ( | int | $question_id, |
int | $questionblock_id | ||
) |
Definition at line 1547 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 4476 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilRBACAccessHandler\checkAccessOfUser(), getSurveyId(), isAppraisee(), and isRater().
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 4054 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 2572 of file class.ilObjSurvey.php.
References $data.
ilObjSurvey::checkReminder | ( | ) |
Definition at line 5314 of file class.ilObjSurvey.php.
References $access, ilObject\$db, $DIC, $ilDB, $message, $user_id, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getStaticLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, getEndDate(), ilObject\getId(), ilObjectActivation\getItem(), getNotificationTargetUserIds(), ilObject\getOfflineStatus(), ilObject\getRefId(), getReminderEnd(), getReminderFrequency(), getReminderLastSent(), getReminderMailTemplates(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getStartDate(), ilObject\getTitle(), IL_CAL_DATE, IL_CAL_DAY, null, 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 5122 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 3428 of file class.ilObjSurvey.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), getTextblock(), saveHeading(), and ilUtil\stripSlashes().
ilObjSurvey::closeAppraisee | ( | int | $a_user_id | ) |
Definition at line 4883 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilObject\getId(), getSkillService(), getSurveyId(), and sendAppraiseeCloseNotification().
ilObjSurvey::create | ( | $a_upload = false | ) |
Definition at line 212 of file class.ilObjSurvey.php.
References $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 3443 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 3481 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 1698 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $user, deleteConstraints(), getSurveyId(), isQuestionInAnyBlock(), and moveQuestions().
Referenced by insertQuestionblock().
ilObjSurvey::createReference | ( | ) |
Definition at line 243 of file class.ilObjSurvey.php.
References saveToDb().
ilObjSurvey::delete | ( | ) |
Definition at line 265 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 354 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 4420 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, deleteRater(), and get360SelfEvaluation().
ilObjSurvey::deleteConstraint | ( | int | $constraint_id | ) |
Deletes a single constraint.
Definition at line 1782 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 1760 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 4540 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getFinishedIdForAppraiseeIdAndRaterId(), and removeSelectedSurveyResults().
Referenced by deleteAppraisee().
ilObjSurvey::deleteSurveyCode | ( | string | $survey_code | ) |
Definition at line 3892 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::deleteSurveyRecord | ( | ) |
Deletes the survey from the database.
Definition at line 297 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), deleteAllUserData(), ilFileUtils\getDataDir(), ilObject\getId(), and getSurveyId().
Referenced by delete().
ilObjSurvey::deleteUserSettings | ( | int | $id | ) |
Definition at line 663 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::deleteWorkingData | ( | int | $question_id, |
int | $active_id | ||
) |
Deletes the working data of a question in the database.
Definition at line 2276 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
|
protected |
Definition at line 223 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 530 of file class.ilObjSurvey.php.
References ilObject\getId(), getQuestionGUI(), and getQuestionType().
Referenced by insertQuestion().
ilObjSurvey::findCodeForUser | ( | int | $a_user_id | ) |
Definition at line 4763 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 2316 of file class.ilObjSurvey.php.
References ilObject\$db, $id, $ilDB, ANONYMOUS_USER_ID, checkTutorNotification(), getMode(), getRatersData(), getSurveyId(), getUserDataFromActiveId(), and ILIAS\Repository\user().
ilObjSurvey::fixSequenceStructure | ( | ) |
Definition at line 1074 of file class.ilObjSurvey.php.
References $data, $DIC, $ilDB, $q, and getSurveyId().
ilObjSurvey::get360Mode | ( | ) |
Definition at line 4224 of file class.ilObjSurvey.php.
References getMode().
Referenced by getUserDataFromActiveId().
ilObjSurvey::get360Results | ( | ) |
Definition at line 4267 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 4247 of file class.ilObjSurvey.php.
References $mode_360_self_appr.
Referenced by importObject(), saveToDb(), sent360Reminders(), and toXML().
ilObjSurvey::get360SelfEvaluation | ( | ) |
Definition at line 4237 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 4257 of file class.ilObjSurvey.php.
References $mode_360_self_rate.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getActivationEndDate | ( | ) |
Definition at line 5485 of file class.ilObjSurvey.php.
References $activation_ending_time.
Referenced by saveToDb().
ilObjSurvey::getActivationStartDate | ( | ) |
Definition at line 5480 of file class.ilObjSurvey.php.
References $activation_starting_time.
Referenced by saveToDb().
ilObjSurvey::getActivationVisibility | ( | ) |
Definition at line 1303 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 2514 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getSurveyId(), and null.
Referenced by sendNotificationMail().
ilObjSurvey::getAllRelations | ( | bool | $short_as_key = false | ) |
Definition at line 2242 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and ilArrayUtil\sortArray().
ilObjSurvey::getAnonymize | ( | ) |
Definition at line 951 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 4653 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, and null.
ilObjSurvey::getAppraiseesData | ( | ) |
Definition at line 4445 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, ilObjUser\_lookupEmail(), ilObjUser\_lookupName(), and getRatersData().
Referenced by sent360Reminders().
ilObjSurvey::getAppraiseesToRate | ( | ?int | $a_user_id, |
?int | $a_anonymous_id = null |
||
) |
Definition at line 4618 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, get360SelfEvaluation(), getSurveyId(), ILIAS\Repository\int(), and isAppraisee().
ilObjSurvey::getAuthor | ( | ) |
Definition at line 1152 of file class.ilObjSurvey.php.
References 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 2029 of file class.ilObjSurvey.php.
References ilObjSurveyQuestionPool\_getAvailableQuestionpools().
Referenced by getQuestionsTable().
ilObjSurvey::getCalculateSumScore | ( | ) |
Definition at line 962 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 2065 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 1224 of file class.ilObjSurvey.php.
References $end_date.
Referenced by checkReminder(), hasEnded(), importObject(), saveToDb(), and toXML().
ilObjSurvey::getEvaluationAccess | ( | ) |
Definition at line 1286 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 2774 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getUserDataFromActiveId(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
ilObjSurvey::getExistingQuestions | ( | ) |
Gets the question id's of the questions which are already in the survey.
Definition at line 1332 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, getSurveyId(), and ILIAS\Repository\int().
Referenced by getQuestionsTable().
ilObjSurvey::getExportDirectory | ( | ) |
Definition at line 3468 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
ilObjSurvey::getExternalCodeRecipients | ( | bool | $a_check_finished = false | ) |
Definition at line 3836 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 4828 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and null.
Referenced by deleteRater().
ilObjSurvey::getFinishedIdsForAppraiseeId | ( | int | $a_appr_id, |
bool | $a_exclude_appraisee = false |
||
) |
Definition at line 4803 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, and ILIAS\Repository\int().
ilObjSurvey::getImportDirectory | ( | ) |
get import directory of survey
Definition at line 3509 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDirParents().
Referenced by delete(), and importObject().
ilObjSurvey::getIntroduction | ( | ) |
Definition at line 1318 of file class.ilObjSurvey.php.
References $introduction.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getLastAccess | ( | int | $finished_id | ) |
Definition at line 3955 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and null.
ilObjSurvey::getLastActivePage | ( | int | $active_id | ) |
Returns the question id of the last active page a user visited in a survey.
Definition at line 2549 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and null.
ilObjSurvey::getMailAddresses | ( | ) |
(Tutor) Recipients of "single participant has finished" mails
Definition at line 4112 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 4096 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 4128 of file class.ilObjSurvey.php.
References $mailparticipantdata.
Referenced by importObject(), and saveToDb().
ilObjSurvey::getMaxSumScore | ( | ) |
Definition at line 5637 of file class.ilObjSurvey.php.
References $c, ilObjSurveyQuestionPool\_getQuestionClasses(), and getSurveyId().
ilObjSurvey::getMode | ( | ) |
Definition at line 5588 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(), ILIAS\Survey\Execution\DomainService\run(), 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 1996 of file class.ilObjSurvey.php.
References getSurveyPages(), and null.
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 5257 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 1323 of file class.ilObjSurvey.php.
References $outro.
Referenced by importObject(), saveToDb(), and toXML().
|
protected |
Definition at line 2485 of file class.ilObjSurvey.php.
References getSurveyQuestions(), and getUserSpecificResults().
Referenced by sendNotificationMail().
ilObjSurvey::getPoolUsage | ( | ) |
ilObjSurvey::getPrecondition | ( | int | $constraint_id | ) |
Returns a precondition with a given id.
Definition at line 2042 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::getQuestionblockQuestionIds | ( | int | $questionblock_id | ) |
int | $questionblock_id |
Definition at line 1629 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 1592 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 2879 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $survey_id, ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), and getQuestionblockQuestions().
Referenced by ilSurveyQuestionblockbrowserTableGUI\initData().
ilObjSurvey::getQuestionGUI | ( | string | $questiontype, |
int | $question_id | ||
) |
Definition at line 899 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 1354 of file class.ilObjSurvey.php.
References ilObjSurveyQuestionPool\_getAvailableQuestionpools().
ilObjSurvey::getQuestionsTable | ( | array | $arrFilter | ) |
Retrieve data for question browser.
Definition at line 2817 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObjSurveyQuestionPool\_getQuestionTypeTranslations(), getAvailableQuestionpools(), and getExistingQuestions().
Referenced by ilSurveyQuestionbrowserTableGUI\initData().
ilObjSurvey::getQuestionType | ( | int | $question_id | ) |
Definition at line 907 of file class.ilObjSurvey.php.
References $data, ilObject\$db, and $ilDB.
Referenced by duplicateQuestionForSurvey().
ilObjSurvey::getRatersData | ( | int | $a_appraisee_id | ) |
Definition at line 4562 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, $res, ilObjUser\_lookupEmail(), ilObjUser\_lookupName(), getSurveyCodesTableData(), is360SurveyStarted(), and null.
Referenced by finishSurvey(), getAppraiseesData(), and sent360Reminders().
ilObjSurvey::getReminderEnd | ( | ) |
Definition at line 4990 of file class.ilObjSurvey.php.
References $reminder_end.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderFrequency | ( | ) |
Definition at line 5000 of file class.ilObjSurvey.php.
References $reminder_frequency.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderLastSent | ( | ) |
Definition at line 5020 of file class.ilObjSurvey.php.
References $reminder_last_sent.
Referenced by checkReminder(), and saveToDb().
ilObjSurvey::getReminderMailTemplates | ( | ?int & | $defaultTemplateId = null | ) |
Definition at line 5546 of file class.ilObjSurvey.php.
References $DIC, $res, ilSurveyMailTemplateReminderContext\ID, and null.
Referenced by checkReminder(), and getReminderTemplate().
ilObjSurvey::getReminderStart | ( | ) |
Definition at line 4980 of file class.ilObjSurvey.php.
References $reminder_start.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderStatus | ( | ) |
Definition at line 4970 of file class.ilObjSurvey.php.
References $reminder_status.
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getReminderTarget | ( | ) |
Definition at line 5010 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 5033 of file class.ilObjSurvey.php.
References $reminder_tmpl, and getReminderMailTemplates().
Referenced by checkReminder(), importObject(), and saveToDb().
ilObjSurvey::getSelfEvaluationResults | ( | ) |
Definition at line 5598 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 1161 of file class.ilObjSurvey.php.
References $display_question_titles.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::getSkillService | ( | ) |
Definition at line 4852 of file class.ilObjSurvey.php.
References $mode_skill_service.
Referenced by closeAppraisee(), importObject(), saveToDb(), and toXML().
ilObjSurvey::getStartDate | ( | ) |
Definition at line 1183 of file class.ilObjSurvey.php.
References $start_date.
Referenced by checkReminder(), hasStarted(), importObject(), saveToDb(), and toXML().
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 3573 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObject\$lng, $params, $user, ilObject\getRefId(), getSurveyId(), IL_CAL_DATETIME, IL_CAL_UNIX, isSurveyCodeUsed(), and ilLanguage\txt().
Fetches the data for the survey codes table.
?string | $lang Language for the survey code URL |
Definition at line 3647 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $lang, $params, ilObject\getRefId(), getSurveyId(), and isSurveyCodeUsed().
Referenced by getRatersData().
ilObjSurvey::getSurveyFinishedIds | ( | ) |
Get run ids.
Definition at line 2654 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getSurveyId(), and ILIAS\Repository\int().
ilObjSurvey::getSurveyId | ( | ) |
Definition at line 928 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 1911 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, 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 451 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, 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 1802 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, getConstraints(), and getSurveyId().
Referenced by getParticipantTextResults(), getUserSpecificResults(), SurveyConstraintsTableGUI\initItems(), and removeQuestions().
|
static |
Definition at line 5530 of file class.ilObjSurvey.php.
References $DIC, ilObject\$lng, and ilLanguage\txt().
Referenced by ilSurveyResultsUserTableGUI\fillRow(), and SurveyQuestionEvaluation\getSkippedValue().
|
static |
Definition at line 5606 of file class.ilObjSurvey.php.
References $ilDB, ilObject\$log, $q, $res, ilLogger\debug(), ilLoggerFactory\getLogger(), and ILIAS\Repository\int().
ilObjSurvey::getTextblock | ( | int | $question_id | ) |
Definition at line 3407 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 5069 of file class.ilObjSurvey.php.
References $tutor_ntf_recipients.
Referenced by importObject(), saveToDb(), and sendTutorNotification().
ilObjSurvey::getTutorNotificationStatus | ( | ) |
Definition at line 5053 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 5088 of file class.ilObjSurvey.php.
References $tutor_ntf_target.
Referenced by checkTutorNotification(), importObject(), and saveToDb().
ilObjSurvey::getTutorResultsRecipients | ( | ) |
Definition at line 5108 of file class.ilObjSurvey.php.
References $tutor_res_recipients.
Referenced by importObject(), and saveToDb().
ilObjSurvey::getTutorResultsStatus | ( | ) |
Definition at line 5098 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 3912 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 4076 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 2707 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, 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 2677 of file class.ilObjSurvey.php.
References $data, $user_id, 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 4699 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, $user, $user_id, ANONYMOUS_USER_ID, getAnonymize(), getSurveyId(), isAccessibleWithoutCode(), isRater(), and null.
ilObjSurvey::getVariables | ( | int | $question_id | ) |
Returns all variables (answer options/scale values) of a question.
Definition at line 2133 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::getWorkingtimeForParticipant | ( | int | $finished_id | ) |
Definition at line 4144 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::hasAnonymizedResults | ( | ) |
Definition at line 975 of file class.ilObjSurvey.php.
References getAnonymize().
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), getUserDataFromActiveId(), and sendNotificationMail().
ilObjSurvey::hasAnonymousUserList | ( | ) |
Definition at line 5525 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 1248 of file class.ilObjSurvey.php.
References getEndDate(), IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
ilObjSurvey::hasMailConfirmation | ( | ) |
Definition at line 5515 of file class.ilObjSurvey.php.
References $mail_confirmation.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::hasMailOwnResults | ( | ) |
Definition at line 5505 of file class.ilObjSurvey.php.
References $mail_own_results.
Referenced by importObject(), saveToDb(), and toXML().
ilObjSurvey::hasQuestions | ( | ) |
Definition at line 505 of file class.ilObjSurvey.php.
ilObjSurvey::hasStarted | ( | ) |
Definition at line 1238 of file class.ilObjSurvey.php.
References getStartDate(), IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
ilObjSurvey::hasViewOwnResults | ( | ) |
Definition at line 5495 of file class.ilObjSurvey.php.
References $view_own_results.
Referenced by saveToDb(), and toXML().
ilObjSurvey::importObject | ( | array | $file_info, |
int | $svy_qpl_id | ||
) |
Definition at line 3162 of file class.ilObjSurvey.php.
References ilObject\$db, ilObject\$error, $ilDB, 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(), getReminderEnd(), getReminderFrequency(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getTutorNotificationRecipients(), getTutorNotificationStatus(), getTutorNotificationTarget(), getTutorResultsRecipients(), getTutorResultsStatus(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), ILIAS\Repository\lng(), loadFromDb(), locateImportFiles(), and ilFileUtils\moveUploadedFile().
ilObjSurvey::importSurveyCode | ( | string | $a_anonymize_key, |
int | $a_created, | ||
array | $a_data | ||
) |
Definition at line 3740 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
|
protected |
Definition at line 194 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 550 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 609 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 4667 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getSurveyId(), and null.
Referenced by getRatersData(), and sent360Reminders().
ilObjSurvey::isAccessibleWithoutCode | ( | ) |
Definition at line 968 of file class.ilObjSurvey.php.
References getAnonymize().
Referenced by getUserSurveyExecutionStatus().
ilObjSurvey::isActivationLimited | ( | ) |
Definition at line 1308 of file class.ilObjSurvey.php.
References $activation_limited.
Referenced by saveToDb().
ilObjSurvey::isAnonymizedParticipant | ( | string | $key | ) |
string | $key | (access code) |
Definition at line 3552 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::isAppraisee | ( | int | $a_user_id | ) |
Definition at line 4390 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 4404 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 500 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 3995 of file class.ilObjSurvey.php.
Referenced by addMaterialTag().
ilObjSurvey::isQuestionInAnyBlock | ( | int | $a_question_fi | ) |
Definition at line 1570 of file class.ilObjSurvey.php.
Referenced by addQuestionToBlock(), and createQuestionblock().
ilObjSurvey::isQuestionInSurvey | ( | int | $a_question_fi | ) |
Definition at line 592 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 4509 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 3725 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::isSurveyCodeUsed | ( | string | $code | ) |
Definition at line 3710 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 3876 of file class.ilObjSurvey.php.
References getSurveyId().
Referenced by getExternalCodeRecipients().
ilObjSurvey::isUnusedCode | ( | string | $a_code, |
int | $a_user_id | ||
) |
Definition at line 4781 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $user_id, ANONYMOUS_USER_ID, and ILIAS\Repository\int().
ilObjSurvey::loadFromDb | ( | ) |
Definition at line 981 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), ilObjectActivation\getItem(), IL_CAL_DATE, ILIAS\Repository\lng(), loadQuestionsFromDb(), null, 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(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by importObject(), and read().
ilObjSurvey::loadQuestionsFromDb | ( | ) |
Definition at line 1059 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 2293 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 3113 of file class.ilObjSurvey.php.
References null.
Referenced by importObject().
ilObjSurvey::modifyQuestionblock | ( | int | $questionblock_id, |
string | $title, | ||
bool | $show_questiontext, | ||
bool | $show_blocktitle, | ||
bool | $compress_view = false |
||
) |
Definition at line 1740 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 1368 of file class.ilObjSurvey.php.
References deleteConstraint(), getConstraints(), and saveQuestionsToDb().
Referenced by createQuestionblock().
ilObjSurvey::openAllAppraisees | ( | ) |
Definition at line 4913 of file class.ilObjSurvey.php.
References ilObject\$db, $DIC, $ilDB, getSurveyId(), and null.
ilObjSurvey::prepareTextareaOutput | ( | string | $txt_output | ) |
Prepares a string for a text area output in surveys.
Definition at line 3985 of file class.ilObjSurvey.php.
References ilLegacyFormElementsUtil\prepareTextareaOutput().
ilObjSurvey::read | ( | ) |
Definition at line 250 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 1432 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by removeQuestion().
ilObjSurvey::removeQuestion | ( | int | $question_id | ) |
Definition at line 1417 of file class.ilObjSurvey.php.
References removeConstraintsConcerningQuestion().
Referenced by delete(), and removeQuestions().
ilObjSurvey::removeQuestionFromBlock | ( | int | $question_id, |
int | $questionblock_id | ||
) |
Definition at line 1531 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 1466 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 400 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $user_id, 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 1136 of file class.ilObjSurvey.php.
References $user, ilObjUser\getFullname(), ilObject\getId(), and ilObject\getType().
Referenced by doCreateMetaData().
ilObjSurvey::saveCompletionStatus | ( | ) |
Saves the completion status of the survey.
Definition at line 514 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 3528 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getSurveyId(), and null.
Referenced by cloneTextblocks().
ilObjSurvey::saveQuestionsToDb | ( | ) |
Definition at line 831 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $q, getSurveyId(), isQuestionInSurvey(), and null.
Referenced by moveQuestions(), removeQuestions(), saveToDb(), and updateOrder().
ilObjSurvey::saveToDb | ( | ) |
Definition at line 696 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(), 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 3934 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 5217 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilUserUtil\getNamePresentation(), ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), null, and ilLanguage\txt().
Referenced by sent360Reminders().
ilObjSurvey::sendAppraiseeCloseNotification | ( | int | $a_user_id | ) |
Definition at line 4330 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), null, and ilLanguage\txt().
Referenced by closeAppraisee().
ilObjSurvey::sendAppraiseeNotification | ( | int | $a_user_id | ) |
Definition at line 4301 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), null, and ilLanguage\txt().
Referenced by addAppraisee().
ilObjSurvey::sendCodes | ( | int | $not_sent, |
string | $subject, | ||
string | $message, | ||
string | $lang | ||
) |
Definition at line 3759 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, $message, $url, 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 2390 of file class.ilObjSurvey.php.
References $data, $mailparticipantdata, $user_id, 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 4359 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilUserUtil\getNamePresentation(), ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), null, and ilLanguage\txt().
|
protected |
Send mail to tutors after all participants have finished the survey.
Definition at line 5284 of file class.ilObjSurvey.php.
References $message, $user_id, 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 5148 of file class.ilObjSurvey.php.
References $DIC, $id, ilObjUser\_lookupId(), ilRBACAccessHandler\checkAccessOfUser(), get360SelfAppraisee(), get360SelfEvaluation(), getAppraiseesData(), getRatersData(), getReminderTarget(), is360SurveyStarted(), isAppraiseeClosed(), and send360ReminderToUser().
Referenced by checkReminder().
|
protected |
Definition at line 5564 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 4860 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::set360Results | ( | int | $a_value | ) |
Definition at line 4262 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 4242 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::set360SelfEvaluation | ( | bool | $a_value | ) |
Definition at line 4232 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
ilObjSurvey::set360SelfRaters | ( | bool | $a_value | ) |
Definition at line 4252 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationEndDate | ( | ?int | $ending_time = null | ) |
Definition at line 5474 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationLimited | ( | bool | $a_value | ) |
Definition at line 1313 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationStartDate | ( | ?int | $starting_time = null | ) |
Definition at line 5468 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setActivationVisibility | ( | bool | $a_value | ) |
Definition at line 1297 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setAnonymize | ( | int | $a_anonymize | ) |
set anonymize status
Definition at line 936 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
ilObjSurvey::setAnonymousUserList | ( | bool | $a_value | ) |
Definition at line 5520 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
ilObjSurvey::setAuthor | ( | string | $author = "" | ) |
Definition at line 1125 of file class.ilObjSurvey.php.
References $author.
Referenced by loadFromDb().
ilObjSurvey::setCalculateSumScore | ( | bool | $a_val | ) |
Definition at line 956 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 1232 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 1262 of file class.ilObjSurvey.php.
References Vendor\Package\$d.
ilObjSurvey::setEvaluationAccess | ( | string | $evaluation_access = self::EVALUATION_ACCESS_OFF | ) |
Definition at line 1291 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 1171 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 4120 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMailConfirmation | ( | bool | $a_value | ) |
Definition at line 5510 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 4104 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMailOwnResults | ( | bool | $a_value | ) |
Definition at line 5500 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 4136 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setMode | ( | int | $a_value | ) |
Definition at line 5583 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 1882 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::setOutro | ( | string | $outro = "" | ) |
Definition at line 1177 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 2371 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::setPoolUsage | ( | bool | $a_value | ) |
Definition at line 4177 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Definition at line 4995 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderFrequency | ( | int | $a_value | ) |
Definition at line 5005 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderLastSent | ( | ?string | $a_value | ) |
Definition at line 5025 of file class.ilObjSurvey.php.
References null.
Referenced by checkReminder(), and loadFromDb().
Definition at line 4985 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderStatus | ( | bool | $a_value | ) |
Definition at line 4975 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setReminderTarget | ( | int | $a_value | ) |
Definition at line 5015 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 5048 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setSelfEvaluationResults | ( | int | $a_value | ) |
Definition at line 5593 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\SelfEvaluation\UIModifier\setValuesFromForm().
ilObjSurvey::setShowQuestionTitles | ( | bool | $a_show | ) |
Definition at line 1166 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setSkillService | ( | bool | $a_val | ) |
Definition at line 4847 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setStartDate | ( | string | $start_date = "" | ) |
string | $start_date | (YYYYMMDDHHMMSS) |
Definition at line 1191 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 1201 of file class.ilObjSurvey.php.
References Vendor\Package\$d.
ilObjSurvey::setSurveyId | ( | int | $survey_id | ) |
Definition at line 4064 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 5077 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 5061 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setTutorNotificationTarget | ( | int | $a_value | ) |
Definition at line 5093 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setTutorResultsRecipients | ( | array | $a_value | ) |
Definition at line 5113 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setTutorResultsStatus | ( | bool | $a_value | ) |
Definition at line 5103 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
ilObjSurvey::setViewOwnResults | ( | bool | $a_value | ) |
Definition at line 5490 of file class.ilObjSurvey.php.
ilObjSurvey::toXML | ( | ) |
Returns a QTI xml representation of the survey.
Definition at line 2926 of file class.ilObjSurvey.php.
References addMaterialTag(), get360Results(), get360SelfAppraisee(), get360SelfEvaluation(), get360SelfRaters(), getAnonymize(), getAuthor(), ilObject\getDescription(), getEndDate(), getEvaluationAccess(), ilObject\getId(), getIntroduction(), getMode(), ilObject\getOfflineStatus(), getOutro(), getSelfEvaluationResults(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getSurveyPages(), ilObject\getTitle(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), hasViewOwnResults(), ILIAS\Repository\int(), and null.
ilObjSurvey::unfoldQuestionblocks | ( | array | $questionblocks | ) |
int[] | $questionblocks question block ids |
Definition at line 1510 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
ilObjSurvey::update | ( | $a_upload = false | ) |
Definition at line 228 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 4185 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, and ilUtil\is_email().
ilObjSurvey::updateConjunctionForQuestions | ( | array | $questions, |
int | $conjunction | ||
) |
Definition at line 2224 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 2205 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
ilObjSurvey::updateOrder | ( | array | $a_order | ) |
Definition at line 4163 of file class.ilObjSurvey.php.
References saveQuestionsToDb().
|
protected |
Definition at line 69 of file class.ilObjSurvey.php.
Referenced by checkReminder().
|
protected |
Definition at line 106 of file class.ilObjSurvey.php.
Referenced by getActivationEndDate().
|
protected |
Definition at line 67 of file class.ilObjSurvey.php.
Referenced by isActivationLimited().
|
protected |
Definition at line 105 of file class.ilObjSurvey.php.
Referenced by getActivationStartDate().
|
protected |
Definition at line 104 of file class.ilObjSurvey.php.
Referenced by getActivationVisibility().
|
protected |
Definition at line 133 of file class.ilObjSurvey.php.
Referenced by hasAnonymousUserList().
int ilObjSurvey::$anonymize = 0 |
Definition at line 93 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 81 of file class.ilObjSurvey.php.
Referenced by setAuthor().
|
protected |
Definition at line 71 of file class.ilObjSurvey.php.
Referenced by getCalculateSumScore().
|
protected |
Definition at line 139 of file class.ilObjSurvey.php.
|
protected |
Definition at line 140 of file class.ilObjSurvey.php.
int ilObjSurvey::$display_question_titles = 0 |
Definition at line 95 of file class.ilObjSurvey.php.
Referenced by getShowQuestionTitles().
|
protected |
Definition at line 64 of file class.ilObjSurvey.php.
string ilObjSurvey::$end_date = "" |
Definition at line 89 of file class.ilObjSurvey.php.
Referenced by getEndDate(), and setEndDate().
string ilObjSurvey::$evaluation_access = self::EVALUATION_ACCESS_OFF |
Definition at line 85 of file class.ilObjSurvey.php.
Referenced by getEvaluationAccess(), and setEvaluationAccess().
|
protected |
Definition at line 141 of file class.ilObjSurvey.php.
|
protected |
Definition at line 142 of file class.ilObjSurvey.php.
string ilObjSurvey::$introduction = "" |
Definition at line 82 of file class.ilObjSurvey.php.
Referenced by getIntroduction(), and setIntroduction().
|
protected |
Definition at line 137 of file class.ilObjSurvey.php.
|
protected |
Definition at line 131 of file class.ilObjSurvey.php.
Referenced by hasMailConfirmation().
|
protected |
Definition at line 130 of file class.ilObjSurvey.php.
Referenced by hasMailOwnResults().
string ilObjSurvey::$mailaddresses = "" |
Definition at line 100 of file class.ilObjSurvey.php.
Referenced by getMailAddresses().
bool ilObjSurvey::$mailnotification = false |
Definition at line 99 of file class.ilObjSurvey.php.
Referenced by getMailNotification().
string ilObjSurvey::$mailparticipantdata = "" |
Definition at line 101 of file class.ilObjSurvey.php.
Referenced by getMailParticipantData(), and sendNotificationMail().
|
protected |
Definition at line 134 of file class.ilObjSurvey.php.
Referenced by getMode().
|
protected |
Definition at line 112 of file class.ilObjSurvey.php.
Referenced by get360Results().
|
protected |
Definition at line 110 of file class.ilObjSurvey.php.
Referenced by get360SelfAppraisee().
|
protected |
Definition at line 109 of file class.ilObjSurvey.php.
Referenced by get360SelfEvaluation().
|
protected |
Definition at line 111 of file class.ilObjSurvey.php.
Referenced by get360SelfRaters().
|
protected |
Definition at line 135 of file class.ilObjSurvey.php.
Referenced by getSelfEvaluationResults().
|
protected |
Definition at line 113 of file class.ilObjSurvey.php.
Referenced by getSkillService().
string ilObjSurvey::$outro = "" |
Definition at line 83 of file class.ilObjSurvey.php.
Referenced by getOutro(), and setOutro().
|
protected |
Definition at line 143 of file class.ilObjSurvey.php.
|
protected |
Definition at line 70 of file class.ilObjSurvey.php.
bool ilObjSurvey::$pool_usage = false |
Definition at line 102 of file class.ilObjSurvey.php.
Referenced by getPoolUsage().
array ilObjSurvey::$questions = [] |
Definition at line 91 of file class.ilObjSurvey.php.
Definition at line 118 of file class.ilObjSurvey.php.
Referenced by getReminderEnd().
|
protected |
Definition at line 119 of file class.ilObjSurvey.php.
Referenced by getReminderFrequency().
|
protected |
Definition at line 121 of file class.ilObjSurvey.php.
Referenced by getReminderLastSent().
Definition at line 117 of file class.ilObjSurvey.php.
Referenced by getReminderStart().
|
protected |
Definition at line 116 of file class.ilObjSurvey.php.
Referenced by getReminderStatus().
|
protected |
Definition at line 120 of file class.ilObjSurvey.php.
Referenced by getReminderTarget().
|
protected |
Definition at line 122 of file class.ilObjSurvey.php.
Referenced by getReminderTemplate().
string ilObjSurvey::$start_date = "" |
Definition at line 87 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 76 of file class.ilObjSurvey.php.
Referenced by getQuestionblocksTable(), getSurveyId(), and setSurveyId().
|
protected |
Definition at line 138 of file class.ilObjSurvey.php.
bool ilObjSurvey::$surveyCodeSecurity = false |
Definition at line 97 of file class.ilObjSurvey.php.
|
protected |
Definition at line 66 of file class.ilObjSurvey.php.
|
protected |
Definition at line 124 of file class.ilObjSurvey.php.
Referenced by getTutorNotificationRecipients().
|
protected |
Definition at line 123 of file class.ilObjSurvey.php.
Referenced by getTutorNotificationStatus().
|
protected |
Definition at line 125 of file class.ilObjSurvey.php.
Referenced by getTutorNotificationTarget().
|
protected |
Definition at line 127 of file class.ilObjSurvey.php.
Referenced by getTutorResultsRecipients().
|
protected |
Definition at line 126 of file class.ilObjSurvey.php.
Referenced by getTutorResultsStatus().
|
protected |
Definition at line 68 of file class.ilObjSurvey.php.
Referenced by createQuestionblock(), getSurveyCodesForExport(), getUserSurveyExecutionStatus(), and saveAuthorToMetadata().
|
protected |
Definition at line 129 of file class.ilObjSurvey.php.
Referenced by hasViewOwnResults().
const ilObjSurvey::ANONYMIZE_CODE_ALL = 3 |
Definition at line 35 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\afterSave(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::ANONYMIZE_FREEACCESS = 2 |
Definition at line 34 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::ANONYMIZE_OFF = 0 |
Definition at line 32 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::ANONYMIZE_ON = 1 |
Definition at line 33 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
const ilObjSurvey::EVALUATION_ACCESS_ALL = "1" |
Definition at line 29 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 28 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 30 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 46 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 48 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 47 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(), ILIAS\Survey\Execution\DomainService\run(), ilSurveyEvaluationGUI\sumscore(), and ilSurveySkill\writeAndAddSelfEvalSkills().
const ilObjSurvey::MODE_STANDARD = 0 |
Definition at line 45 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\getTabs().
const ilObjSurvey::NOTIFICATION_APPRAISEES = 3 |
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::NOTIFICATION_APPRAISEES_AND_RATERS = 5 |
Definition at line 63 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 60 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 59 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 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::PRINT_HIDE_LABELS = 1 |
Definition at line 41 of file class.ilObjSurvey.php.
Referenced by SurveyQuestionGUI\getPrintViewQuestionTitle(), and SurveyQuestionGUI\getQuestionTitle().
const ilObjSurvey::PRINT_SHOW_LABELS = 3 |
Definition at line 42 of file class.ilObjSurvey.php.
Referenced by SurveyQuestionGUI\getPrintViewQuestionTitle(), and SurveyQuestionGUI\getQuestionTitle().
const ilObjSurvey::QUESTIONTITLES_HIDDEN = 0 |
Definition at line 37 of file class.ilObjSurvey.php.
const ilObjSurvey::QUESTIONTITLES_VISIBLE = 1 |
Definition at line 38 of file class.ilObjSurvey.php.
const ilObjSurvey::RESULTS_360_ALL = 2 |
Definition at line 57 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), ILIAS\Survey\Execution\LaunchGUI\determinePrivacyInfo(), ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsResults(), and ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
const ilObjSurvey::RESULTS_360_NONE = 0 |
Definition at line 55 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 56 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyAccess\_hasEvaluationAccess(), ILIAS\Survey\Execution\LaunchGUI\determinePrivacyInfo(), 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 51 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 52 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\SelfEvaluation\UIModifier\getSurveySettingsResults().