|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilObjSurvey:
Collaboration diagram for ilObjSurvey: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 () | |
Public Member Functions inherited from ilObject | |
| 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 Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
Protected Member Functions | |
| initServices () | |
| doCreateMetaData () | |
| getParticipantTextResults (int $active_id) | |
| checkTutorNotification () | |
| Check, if mail to tutors after all participants have finished the survey should be sent. More... | |
| sendTutorNotification () | |
| Send mail to tutors after all participants have finished the survey. More... | |
| sentReminderPlaceholders (string $a_message, int $a_user_id, array $a_context_params) | |
Protected Member Functions inherited from ilObject | |
| 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\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\access(), ilLoggerFactory\getLogger(), initServices(), ILIAS\Repository\lng(), ilLanguage\txt(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 1696 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilObject\$owner, and ilObject\$title.
|
static |
Definition at line 2122 of file class.ilObjSurvey.php.
|
static |
get question block properties
Definition at line 1678 of file class.ilObjSurvey.php.
Referenced by ilSurveyEvaluationGUI\evaluation(), and ilSurveyEditorGUI\initQuestionblockForm().
Here is the caller graph for this function:
|
static |
Definition at line 2656 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().
Here is the caller graph for this function:
|
static |
Creates an instance of a question with a given question id.
Definition at line 3124 of file class.ilObjSurvey.php.
References SurveyQuestion\_getQuestionType(), and SurveyQuestion\_includeClass().
Referenced by ilSurveyEditorGUI\copyPasteObject(), ilSurveyEditorGUI\copyQuestionsToPoolObject(), and ilSurveyEditorGUI\executeCopyQuestionsToPoolObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::addAppraisee | ( | int | $a_user_id | ) |
Definition at line 4309 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ANONYMOUS_USER_ID, ilRBACAccessHandler\checkAccessOfUser(), getSurveyId(), isAppraisee(), and sendAppraiseeNotification().
Here is the call graph for this function:| 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 2183 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::addConstraintToQuestion | ( | int | $to_question_id, |
| int | $constraint_id | ||
| ) |
Definition at line 2209 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| 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 4043 of file class.ilObjSurvey.php.
References ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), IL_INST_ID, isHTML(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1569 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, deleteConstraints(), getSurveyId(), and isQuestionInAnyBlock().
Here is the call graph for this function:| ilObjSurvey::addRater | ( | int | $a_appraisee_id, |
| int | $a_user_id, | ||
| int | $a_anonymous_id = 0 |
||
| ) |
Definition at line 4510 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilRBACAccessHandler\checkAccessOfUser(), getSurveyId(), isAppraisee(), and isRater().
Here is the call graph for this function:| 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 4088 of file class.ilObjSurvey.php.
References getAnonymize().
Here is the call graph for this function:| 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 2594 of file class.ilObjSurvey.php.
References $data.
| ilObjSurvey::checkReminder | ( | ) |
Definition at line 5348 of file class.ilObjSurvey.php.
References $access, ilObject\$db, $DIC, $ilDB, $message, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getStaticLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, getEndDate(), ilObject\getId(), ilObjectActivation\getItem(), getNotificationTargetUserIds(), ilObject\getOfflineStatus(), ilObject\getRefId(), getReminderEnd(), getReminderFrequency(), getReminderLastSent(), getReminderMailTemplates(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getStartDate(), ilObject\getTitle(), IL_CAL_DATE, IL_CAL_DAY, saveToDb(), sent360Reminders(), sentReminderPlaceholders(), setReminderLastSent(), and ilObjectActivation\TIMINGS_ACTIVATION.
Here is the call graph for this function:
|
protected |
Check, if mail to tutors after all participants have finished the survey should be sent.
Definition at line 5156 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getNotificationTargetUserIds(), getTutorNotificationStatus(), getTutorNotificationTarget(), and sendTutorNotification().
Referenced by finishSurvey().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 3462 of file class.ilObjSurvey.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), getTextblock(), saveHeading(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjSurvey::closeAppraisee | ( | int | $a_user_id | ) |
Definition at line 4917 of file class.ilObjSurvey.php.
References $DIC, $ilDB, ilObject\getId(), getSkillService(), getSurveyId(), and sendAppraiseeCloseNotification().
Here is the call graph for this function:| ilObjSurvey::create | ( | $a_upload = false | ) |
Definition at line 212 of file class.ilObjSurvey.php.
References $id, ilObject\createMetaData(), ilObject\setOfflineStatus(), and ilObject\update().
Here is the call graph for this function:| ilObjSurvey::createExportDirectory | ( | ) |
creates data directory for export files (data_dir/svy_data/svy_<id>/export)
| ilSurveyException |
Definition at line 3477 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
Here is the call graph for this function:| ilObjSurvey::createImportDirectory | ( | ) |
creates data directory for import files (data_dir/svy_data/svy_<id>/import)
| ilSurveyException |
Definition at line 3515 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
Here is the call graph for this function:| 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 1720 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $user, deleteConstraints(), getSurveyId(), isQuestionInAnyBlock(), and moveQuestions().
Referenced by insertQuestionblock().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::createReference | ( | ) |
Definition at line 243 of file class.ilObjSurvey.php.
References saveToDb().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::deleteAppraisee | ( | int | $a_user_id | ) |
Definition at line 4454 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, deleteRater(), and get360SelfEvaluation().
Here is the call graph for this function:| ilObjSurvey::deleteConstraint | ( | int | $constraint_id | ) |
Deletes a single constraint.
Definition at line 1804 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by deleteConstraints(), and moveQuestions().
Here is the caller graph for this function:| ilObjSurvey::deleteConstraints | ( | int | $question_id | ) |
Deletes the constraints for a question.
Definition at line 1782 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, deleteConstraint(), and getSurveyId().
Referenced by addQuestionToBlock(), and createQuestionblock().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::deleteRater | ( | int | $a_appraisee_id, |
| int | $a_user_id, | ||
| int | $a_anonymous_id = 0 |
||
| ) |
Definition at line 4574 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getFinishedIdForAppraiseeIdAndRaterId(), and removeSelectedSurveyResults().
Referenced by deleteAppraisee().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::deleteSurveyCode | ( | string | $survey_code | ) |
Definition at line 3926 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 2298 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
|
protected |
Definition at line 223 of file class.ilObjSurvey.php.
References saveAuthorToMetadata().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::findCodeForUser | ( | int | $a_user_id | ) |
Definition at line 4797 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 2338 of file class.ilObjSurvey.php.
References ilObject\$db, $id, $ilDB, ANONYMOUS_USER_ID, checkTutorNotification(), getMode(), getRatersData(), getSurveyId(), getUserDataFromActiveId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjSurvey::fixSequenceStructure | ( | ) |
Definition at line 1077 of file class.ilObjSurvey.php.
References $data, $DIC, $ilDB, $q, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::get360Mode | ( | ) |
Definition at line 4258 of file class.ilObjSurvey.php.
References getMode().
Referenced by getUserDataFromActiveId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::get360Results | ( | ) |
Definition at line 4301 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().
Here is the caller graph for this function:| ilObjSurvey::get360SelfAppraisee | ( | ) |
Definition at line 4281 of file class.ilObjSurvey.php.
References $mode_360_self_appr.
Referenced by importObject(), saveToDb(), sent360Reminders(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::get360SelfEvaluation | ( | ) |
Definition at line 4271 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().
Here is the caller graph for this function:| ilObjSurvey::get360SelfRaters | ( | ) |
Definition at line 4291 of file class.ilObjSurvey.php.
References $mode_360_self_rate.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getActivationEndDate | ( | ) |
Definition at line 5519 of file class.ilObjSurvey.php.
References $activation_ending_time.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getActivationStartDate | ( | ) |
Definition at line 5514 of file class.ilObjSurvey.php.
References $activation_starting_time.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getActivationVisibility | ( | ) |
Definition at line 1325 of file class.ilObjSurvey.php.
References $activation_visibility.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getActiveID | ( | int | $user_id, |
| string | $anonymize_id, | ||
| int | $appr_id | ||
| ) |
Get run id.
Definition at line 2536 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by sendNotificationMail().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getAllRelations | ( | bool | $short_as_key = false | ) |
Definition at line 2264 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and ilArrayUtil\sortArray().
Here is the call graph for this function:| ilObjSurvey::getAnonymize | ( | ) |
Definition at line 953 of file class.ilObjSurvey.php.
References $anonymize.
Referenced by canExportSurveyCode(), getUserSurveyExecutionStatus(), hasAnonymizedResults(), importObject(), isAccessibleWithoutCode(), saveToDb(), ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getAnonymousIdByCode | ( | string | $a_code | ) |
Definition at line 4687 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and $res.
| ilObjSurvey::getAppraiseesData | ( | ) |
Definition at line 4479 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, ilObjUser\_lookupEmail(), ilObjUser\_lookupName(), and getRatersData().
Referenced by sent360Reminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getAppraiseesToRate | ( | ?int | $a_user_id, |
| int | $a_anonymous_id = null |
||
| ) |
Definition at line 4652 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, get360SelfEvaluation(), getSurveyId(), ILIAS\Repository\int(), and isAppraisee().
Here is the call graph for this function:| ilObjSurvey::getAuthor | ( | ) |
Definition at line 1162 of file class.ilObjSurvey.php.
References $id, ilObject\getId(), and ilObject\getType().
Referenced by importObject(), saveToDb(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 2051 of file class.ilObjSurvey.php.
References ilObjSurveyQuestionPool\_getAvailableQuestionpools().
Referenced by getQuestionsTable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getCalculateSumScore | ( | ) |
Definition at line 964 of file class.ilObjSurvey.php.
References $calculate_sum_score.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getConstraints | ( | int | $question_id | ) |
Returns the constraints to a given question or questionblock.
Definition at line 2087 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), and getSurveyId().
Referenced by getSurveyPages(), getSurveyQuestions(), SurveyConstraintsTableGUI\initItems(), and moveQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getEndDate | ( | ) |
Definition at line 1246 of file class.ilObjSurvey.php.
References $end_date.
Referenced by checkReminder(), hasEnded(), importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getEvaluationAccess | ( | ) |
Definition at line 1308 of file class.ilObjSurvey.php.
References $evaluation_access.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getEvaluationByUser | ( | array | $questions, |
| int | $active_id | ||
| ) |
Calculates the evaluation data for a given run.
Definition at line 2796 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, and getUserDataFromActiveId().
Here is the call graph for this function:| ilObjSurvey::getExistingQuestions | ( | ) |
Gets the question id's of the questions which are already in the survey.
Definition at line 1354 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, getSurveyId(), and ILIAS\Repository\int().
Referenced by getQuestionsTable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getExportDirectory | ( | ) |
Definition at line 3502 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
Here is the call graph for this function:| ilObjSurvey::getExternalCodeRecipients | ( | bool | $a_check_finished = false | ) |
Definition at line 3870 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, getSurveyId(), and isSurveyFinishedByCode().
Referenced by sendCodes().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getFinishedIdForAppraiseeIdAndRaterId | ( | int | $a_appr_id, |
| int | $a_rat_id | ||
| ) |
Get finished id for an appraisee and a rater.
Definition at line 4862 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by deleteRater().
Here is the caller graph for this function:| ilObjSurvey::getFinishedIdsForAppraiseeId | ( | int | $a_appr_id, |
| bool | $a_exclude_appraisee = false |
||
| ) |
Definition at line 4837 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSurvey::getImportDirectory | ( | ) |
get import directory of survey
Definition at line 3543 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDirParents().
Referenced by delete(), and importObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getIntroduction | ( | ) |
Definition at line 1340 of file class.ilObjSurvey.php.
References $introduction.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getLastAccess | ( | int | $finished_id | ) |
Definition at line 3989 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::getLastActivePage | ( | int | $active_id | ) |
Returns the question id of the last active page a user visited in a survey.
Definition at line 2571 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::getMailAddresses | ( | ) |
(Tutor) Recipients of "single participant has finished" mails
Definition at line 4146 of file class.ilObjSurvey.php.
References $mailaddresses.
Referenced by importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getMailNotification | ( | ) |
Send mail to tutors each time a participant finishes the survey?
Definition at line 4130 of file class.ilObjSurvey.php.
References $mailnotification.
Referenced by importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getMailParticipantData | ( | ) |
Preceding text (incl.
placeholders) for "single participant has finished" mails
Definition at line 4162 of file class.ilObjSurvey.php.
References $mailparticipantdata.
Referenced by importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getMaxSumScore | ( | ) |
Definition at line 5671 of file class.ilObjSurvey.php.
References Vendor\Package\$c, ilObjSurveyQuestionPool\_getQuestionClasses(), and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::getMode | ( | ) |
Definition at line 5622 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().
Here is the caller graph for this function:| 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 2018 of file class.ilObjSurvey.php.
References ILIAS\LTI\ToolProvider\$key, and getSurveyPages().
Here is the call graph for this function:| 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 5291 of file class.ilObjSurvey.php.
References ilObject\$tree, ilObject\_lookupObjId(), ilTree\checkForParentType(), ilObject\getRefId(), and getSurveyId().
Referenced by checkReminder(), and checkTutorNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getOutro | ( | ) |
Definition at line 1345 of file class.ilObjSurvey.php.
References $outro.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:
|
protected |
Definition at line 2507 of file class.ilObjSurvey.php.
References getSurveyQuestions(), and getUserSpecificResults().
Referenced by sendNotificationMail().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getPoolUsage | ( | ) |
Definition at line 4206 of file class.ilObjSurvey.php.
References $pool_usage.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getPrecondition | ( | int | $constraint_id | ) |
Returns a precondition with a given id.
Definition at line 2064 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::getQuestionblockQuestionIds | ( | int | $questionblock_id | ) |
| int | $questionblock_id |
Definition at line 1651 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSurvey::getQuestionblockQuestions | ( | int | $questionblock_id | ) |
| int | $questionblock_id |
Definition at line 1614 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by getQuestionblocksTable().
Here is the caller graph for this function:| ilObjSurvey::getQuestionblocksTable | ( | array | $arrFilter | ) |
Retrieve data for question block browser.
Definition at line 2901 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, $survey_id, ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), and getQuestionblockQuestions().
Referenced by ilSurveyQuestionblockbrowserTableGUI\initData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getQuestionGUI | ( | string | $questiontype, |
| int | $question_id | ||
| ) |
Definition at line 901 of file class.ilObjSurvey.php.
References SurveyQuestionGUI\_getQuestionGUI().
Referenced by duplicateQuestionForSurvey().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getQuestionpoolTitles | ( | bool | $could_be_offline = false, |
| bool | $showPath = false |
||
| ) |
Returns the available question pools for the active user.
Definition at line 1376 of file class.ilObjSurvey.php.
References ilObjSurveyQuestionPool\_getAvailableQuestionpools().
Here is the call graph for this function:| ilObjSurvey::getQuestionsTable | ( | array | $arrFilter | ) |
Retrieve data for question browser.
Definition at line 2839 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObjSurveyQuestionPool\_getQuestionTypeTranslations(), getAvailableQuestionpools(), and getExistingQuestions().
Referenced by ilSurveyQuestionbrowserTableGUI\initData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getQuestionType | ( | int | $question_id | ) |
Definition at line 909 of file class.ilObjSurvey.php.
References $data, ilObject\$db, and $ilDB.
Referenced by duplicateQuestionForSurvey().
Here is the caller graph for this function:| ilObjSurvey::getRatersData | ( | int | $a_appraisee_id | ) |
Definition at line 4596 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, $res, ilObjUser\_lookupEmail(), ilObjUser\_lookupName(), getSurveyCodesTableData(), and is360SurveyStarted().
Referenced by finishSurvey(), getAppraiseesData(), and sent360Reminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getReminderEnd | ( | ) |
Definition at line 5024 of file class.ilObjSurvey.php.
References $reminder_end.
Referenced by checkReminder(), importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getReminderFrequency | ( | ) |
Definition at line 5034 of file class.ilObjSurvey.php.
References $reminder_frequency.
Referenced by checkReminder(), importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getReminderLastSent | ( | ) |
Definition at line 5054 of file class.ilObjSurvey.php.
References $reminder_last_sent.
Referenced by checkReminder(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getReminderMailTemplates | ( | int & | $defaultTemplateId = null | ) |
Definition at line 5580 of file class.ilObjSurvey.php.
References $DIC, $res, and ilSurveyMailTemplateReminderContext\ID.
Referenced by checkReminder(), and getReminderTemplate().
Here is the caller graph for this function:| ilObjSurvey::getReminderStart | ( | ) |
Definition at line 5014 of file class.ilObjSurvey.php.
References $reminder_start.
Referenced by checkReminder(), importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getReminderStatus | ( | ) |
Definition at line 5004 of file class.ilObjSurvey.php.
References $reminder_status.
Referenced by checkReminder(), importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getReminderTarget | ( | ) |
Definition at line 5044 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().
Here is the caller graph for this function:| ilObjSurvey::getReminderTemplate | ( | bool | $selectDefault = false | ) |
Definition at line 5067 of file class.ilObjSurvey.php.
References $reminder_tmpl, and getReminderMailTemplates().
Referenced by checkReminder(), importObject(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getSelfEvaluationResults | ( | ) |
Definition at line 5632 of file class.ilObjSurvey.php.
References $mode_self_eval_results.
Referenced by ILIAS\Survey\Mode\SelfEvaluation\UIModifier\getSurveySettingsResults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getShowQuestionTitles | ( | ) |
Definition at line 1183 of file class.ilObjSurvey.php.
References $display_question_titles.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getSkillService | ( | ) |
Definition at line 4886 of file class.ilObjSurvey.php.
References $mode_skill_service.
Referenced by closeAppraisee(), importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getStartDate | ( | ) |
Definition at line 1205 of file class.ilObjSurvey.php.
References $start_date.
Referenced by checkReminder(), hasStarted(), importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::getSurveyCodesForExport | ( | array | $a_codes = null, |
| array | $a_ids = null |
||
| ) |
Return a list of survey codes for file export, note: user_key needs to be null to export a record.
| ?string[] | $a_codes array of all survey codes that should be exported, if null... |
| ?int[] | $a_ids array of anonymous ids that should be exported |
| ilDateTimeException |
Definition at line 3607 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().
Here is the call graph for this function:| ilObjSurvey::getSurveyCodesTableData | ( | array | $ids = null, |
| string | $lang = null |
||
| ) |
Fetches the data for the survey codes table.
| ?string | $lang Language for the survey code URL |
Definition at line 3681 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $lang, $params, ilObject\getRefId(), getSurveyId(), and isSurveyCodeUsed().
Referenced by getRatersData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getSurveyFinishedIds | ( | ) |
Get run ids.
Definition at line 2676 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getSurveyId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSurvey::getSurveyId | ( | ) |
Definition at line 930 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().
Here is the caller graph for this function:| ilObjSurvey::getSurveyPages | ( | ) |
Returns the survey pages in an array (a page contains one or more questions)
Definition at line 1933 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, getConstraints(), and getSurveyId().
Referenced by getNextPage(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::getSurveyQuestions | ( | bool | $with_answers = false | ) |
Returns the survey questions and questionblocks in an array.
Definition at line 1824 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, getConstraints(), and getSurveyId().
Referenced by getParticipantTextResults(), getUserSpecificResults(), SurveyConstraintsTableGUI\initItems(), and removeQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 5564 of file class.ilObjSurvey.php.
References $DIC, ilObject\$lng, and ilLanguage\txt().
Referenced by ilSurveyResultsUserTableGUI\fillRow(), and SurveyQuestionEvaluation\getSkippedValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 5640 of file class.ilObjSurvey.php.
References $ilDB, ilObject\$log, $q, $res, ilLogger\debug(), ilLoggerFactory\getLogger(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSurvey::getTextblock | ( | int | $question_id | ) |
Definition at line 3441 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by cloneTextblocks().
Here is the caller graph for this function:| ilObjSurvey::getTutorNotificationRecipients | ( | ) |
Mail being sent to tutors after all participants have finished the survey?
Definition at line 5103 of file class.ilObjSurvey.php.
References $tutor_ntf_recipients.
Referenced by importObject(), saveToDb(), and sendTutorNotification().
Here is the caller graph for this function:| ilObjSurvey::getTutorNotificationStatus | ( | ) |
Definition at line 5087 of file class.ilObjSurvey.php.
References $tutor_ntf_status.
Referenced by checkTutorNotification(), importObject(), and saveToDb().
Here is the caller graph for this function:| 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 5122 of file class.ilObjSurvey.php.
References $tutor_ntf_target.
Referenced by checkTutorNotification(), importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getTutorResultsRecipients | ( | ) |
Definition at line 5142 of file class.ilObjSurvey.php.
References $tutor_res_recipients.
Referenced by importObject(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::getTutorResultsStatus | ( | ) |
Definition at line 5132 of file class.ilObjSurvey.php.
References $tutor_res_status.
Referenced by importObject(), and saveToDb().
Here is the caller graph for this function:| 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 3946 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::getUserData | ( | array | $ids | ) |
Returns a data of all users specified by id list.
| int[] | $ids array of user id's |
Definition at line 4110 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 2729 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 2699 of file class.ilObjSurvey.php.
References $data, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), SurveyQuestion\_instanciateQuestionEvaluation(), and getSurveyQuestions().
Referenced by getParticipantTextResults().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 4733 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $res, $user, ANONYMOUS_USER_ID, getAnonymize(), getSurveyId(), isAccessibleWithoutCode(), and isRater().
Here is the call graph for this function:| ilObjSurvey::getVariables | ( | int | $question_id | ) |
Returns all variables (answer options/scale values) of a question.
Definition at line 2155 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::getWorkingtimeForParticipant | ( | int | $finished_id | ) |
Definition at line 4178 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::hasAnonymizedResults | ( | ) |
Definition at line 977 of file class.ilObjSurvey.php.
References getAnonymize().
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), getUserDataFromActiveId(), and sendNotificationMail().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::hasAnonymousUserList | ( | ) |
Definition at line 5559 of file class.ilObjSurvey.php.
References $anon_user_list.
Referenced by ILIAS\Survey\Mode\Standard\UIModifier\getSurveySettingsResults(), importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::hasEnded | ( | ) |
Definition at line 1270 of file class.ilObjSurvey.php.
References getEndDate(), IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
Here is the call graph for this function:| ilObjSurvey::hasMailConfirmation | ( | ) |
Definition at line 5549 of file class.ilObjSurvey.php.
References $mail_confirmation.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::hasMailOwnResults | ( | ) |
Definition at line 5539 of file class.ilObjSurvey.php.
References $mail_own_results.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::hasQuestions | ( | ) |
Definition at line 505 of file class.ilObjSurvey.php.
| ilObjSurvey::hasStarted | ( | ) |
Definition at line 1260 of file class.ilObjSurvey.php.
References getStartDate(), IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
Here is the call graph for this function:| ilObjSurvey::hasViewOwnResults | ( | ) |
Definition at line 5529 of file class.ilObjSurvey.php.
References $view_own_results.
Referenced by importObject(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjSurvey::importObject | ( | array | $file_info, |
| int | $svy_qpl_id | ||
| ) |
Definition at line 3194 of file class.ilObjSurvey.php.
References ilObject\$db, ilObject\$error, $ilDB, ILIAS\LTI\ToolProvider\$key, ilCopyWizardOptions\_getInstance(), SurveyQuestion\_getOriginalId(), ilObject\cloneMetaData(), get360Results(), get360SelfAppraisee(), get360SelfEvaluation(), get360SelfRaters(), getAnonymize(), getAuthor(), getEndDate(), getEvaluationAccess(), ilObject\getId(), getImportDirectory(), getIntroduction(), getMailAddresses(), getMailNotification(), getMailParticipantData(), getMode(), ilObject\getOfflineStatus(), getOutro(), getPoolUsage(), getReminderEnd(), getReminderFrequency(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getTutorNotificationRecipients(), getTutorNotificationStatus(), getTutorNotificationTarget(), getTutorResultsRecipients(), getTutorResultsStatus(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), hasViewOwnResults(), ILIAS\Repository\lng(), loadFromDb(), locateImportFiles(), and ilFileUtils\moveUploadedFile().
Here is the call graph for this function:| ilObjSurvey::importSurveyCode | ( | string | $a_anonymize_key, |
| int | $a_created, | ||
| array | $a_data | ||
| ) |
Definition at line 3774 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:
|
protected |
Definition at line 194 of file class.ilObjSurvey.php.
References getMode(), ilObject\getRefId(), and ILIAS\Repository\user().
Referenced by __construct(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| ilObjSurvey::insertQuestionblock | ( | int | $questionblock_id | ) |
Definition at line 609 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObject\$title, createQuestionblock(), and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::is360SurveyStarted | ( | int | $appr_id, |
| int | $user_id, | ||
| string | $anonymous_code = null |
||
| ) |
Definition at line 4701 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by getRatersData(), and sent360Reminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::isAccessibleWithoutCode | ( | ) |
Definition at line 970 of file class.ilObjSurvey.php.
References getAnonymize().
Referenced by getUserSurveyExecutionStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::isActivationLimited | ( | ) |
Definition at line 1330 of file class.ilObjSurvey.php.
References $activation_limited.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjSurvey::isAnonymizedParticipant | ( | string | $key | ) |
| string | $key | (access code) |
Definition at line 3586 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::isAppraisee | ( | int | $a_user_id | ) |
Definition at line 4424 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by addAppraisee(), addRater(), getAppraiseesToRate(), and isRater().
Here is the caller graph for this function:| ilObjSurvey::isAppraiseeClosed | ( | int | $a_user_id | ) |
Definition at line 4438 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
Referenced by sent360Reminders().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::isHTML | ( | string | $a_text | ) |
Checks if a given string contains HTML or not.
Definition at line 4029 of file class.ilObjSurvey.php.
Referenced by addMaterialTag().
Here is the caller graph for this function:| ilObjSurvey::isQuestionInAnyBlock | ( | int | $a_question_fi | ) |
Definition at line 1592 of file class.ilObjSurvey.php.
Referenced by addQuestionToBlock(), and createQuestionblock().
Here is the caller graph for this function:| ilObjSurvey::isQuestionInSurvey | ( | int | $a_question_fi | ) |
Definition at line 592 of file class.ilObjSurvey.php.
Referenced by insertQuestion(), and saveQuestionsToDb().
Here is the caller graph for this function:| ilObjSurvey::isRater | ( | int | $a_appraisee_id, |
| int | $a_user_id, | ||
| int | $a_anonymous_id = 0 |
||
| ) |
Definition at line 4543 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, get360SelfEvaluation(), getSurveyId(), and isAppraisee().
Referenced by addRater(), and getUserSurveyExecutionStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::isSurveyCodeUnique | ( | string | $code | ) |
Definition at line 3759 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::isSurveyCodeUsed | ( | string | $code | ) |
Definition at line 3744 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by getSurveyCodesForExport(), and getSurveyCodesTableData().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 3910 of file class.ilObjSurvey.php.
References getSurveyId().
Referenced by getExternalCodeRecipients().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::isUnusedCode | ( | string | $a_code, |
| int | $a_user_id | ||
| ) |
Definition at line 4815 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ANONYMOUS_USER_ID, and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSurvey::loadFromDb | ( | ) |
Definition at line 983 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), ilObjectActivation\getItem(), IL_CAL_DATE, ILIAS\Repository\lng(), loadQuestionsFromDb(), set360Results(), set360SelfAppraisee(), set360SelfEvaluation(), set360SelfRaters(), setActivationEndDate(), setActivationLimited(), setActivationStartDate(), setActivationVisibility(), setAnonymize(), setAnonymousUserList(), setAuthor(), setCalculateSumScore(), setEndDate(), setEvaluationAccess(), setIntroduction(), setMailAddresses(), setMailConfirmation(), setMailNotification(), setMailOwnResults(), setMailParticipantData(), setMode(), setOutro(), setPoolUsage(), setReminderEnd(), setReminderFrequency(), setReminderLastSent(), setReminderStart(), setReminderStatus(), setReminderTarget(), setReminderTemplate(), setSelfEvaluationResults(), setShowQuestionTitles(), setSkillService(), setStartDate(), setSurveyId(), setTutorNotificationRecipients(), setTutorNotificationStatus(), setTutorNotificationTarget(), setTutorResultsRecipients(), setTutorResultsStatus(), setViewOwnResults(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by importObject(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::loadQuestionsFromDb | ( | ) |
Definition at line 1062 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, and getSurveyId().
Referenced by insertQuestion(), and loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::loadWorkingData | ( | int | $question_id, |
| int | $active_id | ||
| ) |
Gets the given answer data of a question in a run.
Definition at line 2315 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 3145 of file class.ilObjSurvey.php.
Referenced by importObject().
Here is the caller graph for this function:| ilObjSurvey::modifyQuestionblock | ( | int | $questionblock_id, |
| string | $title, | ||
| bool | $show_questiontext, | ||
| bool | $show_blocktitle, | ||
| bool | $compress_view = false |
||
| ) |
Definition at line 1762 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 1390 of file class.ilObjSurvey.php.
References deleteConstraint(), getConstraints(), and saveQuestionsToDb().
Referenced by createQuestionblock().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::openAllAppraisees | ( | ) |
Definition at line 4947 of file class.ilObjSurvey.php.
References ilObject\$db, $DIC, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::prepareTextareaOutput | ( | string | $txt_output | ) |
Prepares a string for a text area output in surveys.
Definition at line 4019 of file class.ilObjSurvey.php.
References ilLegacyFormElementsUtil\prepareTextareaOutput().
Here is the call graph for this function:| ilObjSurvey::read | ( | ) |
Definition at line 250 of file class.ilObjSurvey.php.
References initServices(), and loadFromDb().
Here is the call graph for this function:| ilObjSurvey::removeConstraintsConcerningQuestion | ( | int | $question_id | ) |
Remove constraints concerning a question with a given question_id.
Definition at line 1454 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, and getSurveyId().
Referenced by removeQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::removeQuestion | ( | int | $question_id | ) |
Definition at line 1439 of file class.ilObjSurvey.php.
References removeConstraintsConcerningQuestion().
Referenced by delete(), and removeQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::removeQuestionFromBlock | ( | int | $question_id, |
| int | $questionblock_id | ||
| ) |
Definition at line 1553 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| 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 1488 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, getSurveyId(), getSurveyQuestions(), removeQuestion(), and saveQuestionsToDb().
Here is the call graph for this function:| 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, ilObject\getId(), ilObjectLP\getInstance(), getSurveyId(), and ILIAS\Repository\int().
Referenced by deleteRater().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1139 of file class.ilObjSurvey.php.
References $user, ilObjUser\getFullname(), ilObject\getId(), and ilObject\getType().
Referenced by doCreateMetaData().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::saveHeading | ( | string | $heading, |
| int | $insertbefore | ||
| ) |
| string | $heading | |
| int | $insertbefore | question id which gets the heading (before) |
Definition at line 3562 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Referenced by cloneTextblocks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::saveQuestionsToDb | ( | ) |
Definition at line 833 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, $q, getSurveyId(), and isQuestionInSurvey().
Referenced by moveQuestions(), removeQuestions(), saveToDb(), and updateOrder().
Here is the call graph for this function:
Here is the caller graph for this function:| 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(), getPoolUsage(), getReminderEnd(), getReminderFrequency(), getReminderLastSent(), getReminderStart(), getReminderStatus(), getReminderTarget(), getReminderTemplate(), getSelfEvaluationResults(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getTutorNotificationRecipients(), getTutorNotificationStatus(), getTutorNotificationTarget(), getTutorResultsRecipients(), getTutorResultsStatus(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), hasViewOwnResults(), IL_CAL_DATE, isActivationLimited(), isComplete(), saveQuestionsToDb(), setSurveyId(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by checkReminder(), and createReference().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 3968 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::saveUserSettings | ( | int | $usr_id, |
| string | $key, | ||
| string | $title, | ||
| string | $value | ||
| ) |
| ilObjSurvey::send360ReminderToUser | ( | int | $a_user_id, |
| array | $a_appraisee_ids | ||
| ) |
Definition at line 5251 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilUserUtil\getNamePresentation(), ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Referenced by sent360Reminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::sendAppraiseeCloseNotification | ( | int | $a_user_id | ) |
Definition at line 4364 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Referenced by closeAppraisee().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::sendAppraiseeNotification | ( | int | $a_user_id | ) |
Definition at line 4335 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Referenced by addAppraisee().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::sendCodes | ( | int | $not_sent, |
| string | $subject, | ||
| string | $message, | ||
| string | $lang | ||
| ) |
Definition at line 3793 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, ILIAS\LTI\ToolProvider\$key, $message, $url, ANONYMOUS_USER_ID, getExternalCodeRecipients(), ilObject\getRefId(), and getSurveyId().
Here is the call graph for this function:| 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 2412 of file class.ilObjSurvey.php.
References $data, ILIAS\LTI\ToolProvider\$key, $mailparticipantdata, ilObjUser\_getUserData(), ilObjUser\_lookupId(), getActiveID(), ilUserUtil\getNamePresentation(), getParticipantTextResults(), ilObject\getRefId(), ilObjUser\getUserIdsByEmail(), hasAnonymizedResults(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSurvey::sendRaterNotification | ( | int | $a_user_id, |
| int | $a_appraisee_id | ||
| ) |
Definition at line 4393 of file class.ilObjSurvey.php.
References ilObject\$lng, ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilUserUtil\getNamePresentation(), ilObject\getRefId(), ilObject\getTitle(), ilLanguage\getUserLanguage(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Send mail to tutors after all participants have finished the survey.
Definition at line 5318 of file class.ilObjSurvey.php.
References $message, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getStaticLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, ilObject\getRefId(), ilObject\getTitle(), and getTutorNotificationRecipients().
Referenced by checkTutorNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::sent360Reminders | ( | ) |
Send 360 reminders.
Definition at line 5182 of file class.ilObjSurvey.php.
References $app, $DIC, $id, ilObjUser\_lookupId(), ilRBACAccessHandler\checkAccessOfUser(), get360SelfAppraisee(), get360SelfEvaluation(), getAppraiseesData(), getRatersData(), getReminderTarget(), is360SurveyStarted(), isAppraiseeClosed(), and send360ReminderToUser().
Referenced by checkReminder().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 5598 of file class.ilObjSurvey.php.
References $context, Vendor\Package\$e, ilLoggerFactory\getLogger(), ilMailTemplateContextService\getTemplateContextById(), and ilSurveyMailTemplateReminderContext\ID.
Referenced by checkReminder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSurvey::set360RaterSent | ( | int | $a_appraisee_id, |
| int | $a_user_id, | ||
| int | $a_anonymous_id, | ||
| int | $a_tstamp = null |
||
| ) |
Definition at line 4894 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::set360Results | ( | int | $a_value | ) |
Definition at line 4296 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::set360SelfAppraisee | ( | bool | $a_value | ) |
Definition at line 4276 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::set360SelfEvaluation | ( | bool | $a_value | ) |
Definition at line 4266 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::set360SelfRaters | ( | bool | $a_value | ) |
Definition at line 4286 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setActivationEndDate | ( | int | $ending_time = null | ) |
Definition at line 5508 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setActivationLimited | ( | bool | $a_value | ) |
Definition at line 1335 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setActivationStartDate | ( | int | $starting_time = null | ) |
Definition at line 5502 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setActivationVisibility | ( | bool | $a_value | ) |
Definition at line 1319 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setAnonymize | ( | int | $a_anonymize | ) |
set anonymize status
Definition at line 938 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::setAnonymousUserList | ( | bool | $a_value | ) |
Definition at line 5554 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::setAuthor | ( | string | $author = "" | ) |
Definition at line 1128 of file class.ilObjSurvey.php.
References $author.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setCalculateSumScore | ( | bool | $a_val | ) |
Definition at line 958 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::setEndDate | ( | string | $end_date = "" | ) |
| string | $end_date | (YYYYMMDDHHMMSS) |
Definition at line 1254 of file class.ilObjSurvey.php.
References $end_date.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setEndDateAndTime | ( | string | $end_date, |
| string | $end_time | ||
| ) |
| string | $end_date | (YYYY-MM-DD) |
| string | $end_time | (HH:MM:SS) |
Definition at line 1284 of file class.ilObjSurvey.php.
References Vendor\Package\$d.
| ilObjSurvey::setEvaluationAccess | ( | string | $evaluation_access = self::EVALUATION_ACCESS_OFF | ) |
Definition at line 1313 of file class.ilObjSurvey.php.
References $evaluation_access.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\Standard\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::setIntroduction | ( | string | $introduction = "" | ) |
Definition at line 1193 of file class.ilObjSurvey.php.
References $introduction.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setMailAddresses | ( | string | $a_addresses | ) |
Set (Tutor) Recipients of "single participant has finished" mails.
Definition at line 4154 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setMailConfirmation | ( | bool | $a_value | ) |
Definition at line 5544 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setMailNotification | ( | bool | $a_notification | ) |
Activate mail to tutors each time a participant finishes the survey.
Definition at line 4138 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setMailOwnResults | ( | bool | $a_value | ) |
Definition at line 5534 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setMailParticipantData | ( | string | $a_data | ) |
Set preceding text (incl.
placeholders) for "single participant has finished" mails
Definition at line 4170 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setMode | ( | int | $a_value | ) |
Definition at line 5617 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| 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 1904 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::setOutro | ( | string | $outro = "" | ) |
Definition at line 1199 of file class.ilObjSurvey.php.
References $outro.
Referenced by loadFromDb().
Here is the caller graph for this function:| 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 2393 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::setPoolUsage | ( | bool | $a_value | ) |
Definition at line 4211 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setReminderEnd | ( | ?ilDate | $a_value = null | ) |
Definition at line 5029 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setReminderFrequency | ( | int | $a_value | ) |
Definition at line 5039 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setReminderLastSent | ( | ?string | $a_value | ) |
Definition at line 5059 of file class.ilObjSurvey.php.
Referenced by checkReminder(), and loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setReminderStart | ( | ?ilDate | $a_value = null | ) |
Definition at line 5019 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setReminderStatus | ( | bool | $a_value | ) |
Definition at line 5009 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setReminderTarget | ( | int | $a_value | ) |
Definition at line 5049 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::setReminderTemplate | ( | ?int | $a_value | ) |
Definition at line 5082 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setSelfEvaluationResults | ( | int | $a_value | ) |
Definition at line 5627 of file class.ilObjSurvey.php.
Referenced by loadFromDb(), and ILIAS\Survey\Mode\SelfEvaluation\UIModifier\setValuesFromForm().
Here is the caller graph for this function:| ilObjSurvey::setShowQuestionTitles | ( | bool | $a_show | ) |
Definition at line 1188 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setSkillService | ( | bool | $a_val | ) |
Definition at line 4881 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setStartDate | ( | string | $start_date = "" | ) |
| string | $start_date | (YYYYMMDDHHMMSS) |
Definition at line 1213 of file class.ilObjSurvey.php.
References $start_date.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setStartDateAndTime | ( | string | $start_date, |
| string | $start_time | ||
| ) |
| string | $start_date | (YYYY-MM-DD) |
| string | $start_time | (HH:MM:SS) |
Definition at line 1223 of file class.ilObjSurvey.php.
References Vendor\Package\$d.
| ilObjSurvey::setSurveyId | ( | int | $survey_id | ) |
Definition at line 4098 of file class.ilObjSurvey.php.
References $survey_id.
Referenced by loadFromDb(), and saveToDb().
Here is the caller graph for this function:| ilObjSurvey::setTutorNotificationRecipients | ( | array | $a_value | ) |
Set tutor recipients for "all participants have finished" mail.
Definition at line 5111 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setTutorNotificationStatus | ( | bool | $a_value | ) |
Activates mail being sent to tutors after all participants have finished the survey.
Definition at line 5095 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setTutorNotificationTarget | ( | int | $a_value | ) |
Definition at line 5127 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setTutorResultsRecipients | ( | array | $a_value | ) |
Definition at line 5147 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setTutorResultsStatus | ( | bool | $a_value | ) |
Definition at line 5137 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::setViewOwnResults | ( | bool | $a_value | ) |
Definition at line 5524 of file class.ilObjSurvey.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjSurvey::toXML | ( | ) |
Returns a QTI xml representation of the survey.
Definition at line 2948 of file class.ilObjSurvey.php.
References addMaterialTag(), get360Results(), get360SelfAppraisee(), get360SelfEvaluation(), get360SelfRaters(), getAnonymize(), getAuthor(), ilObject\getDescription(), getEndDate(), getEvaluationAccess(), ilObject\getId(), getIntroduction(), getMode(), ilObject\getOfflineStatus(), getOutro(), getPoolUsage(), getSelfEvaluationResults(), getShowQuestionTitles(), getSkillService(), getStartDate(), getSurveyId(), getSurveyPages(), ilObject\getTitle(), ilObject\getType(), hasAnonymousUserList(), hasMailConfirmation(), hasMailOwnResults(), hasViewOwnResults(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSurvey::unfoldQuestionblocks | ( | array | $questionblocks | ) |
| int[] | $questionblocks question block ids |
Definition at line 1532 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, and getSurveyId().
Here is the call graph for this function:| ilObjSurvey::update | ( | $a_upload = false | ) |
Definition at line 228 of file class.ilObjSurvey.php.
References ilObject\updateMetaData().
Here is the call graph for this function:| ilObjSurvey::updateCode | ( | int | $a_id, |
| string | $a_email, | ||
| string | $a_last_name, | ||
| string | $a_first_name, | ||
| int | $a_sent | ||
| ) |
Definition at line 4219 of file class.ilObjSurvey.php.
References $data, ilObject\$db, $ilDB, and ilUtil\is_email().
Here is the call graph for this function:| ilObjSurvey::updateConjunctionForQuestions | ( | array | $questions, |
| int | $conjunction | ||
| ) |
Definition at line 2246 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 2227 of file class.ilObjSurvey.php.
References ilObject\$db, and $ilDB.
| ilObjSurvey::updateOrder | ( | array | $a_order | ) |
Definition at line 4197 of file class.ilObjSurvey.php.
References saveQuestionsToDb().
Here is the call graph for this function:
|
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.
|
protected |
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().
|
protected |
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\InfoScreen\InfoScreenGUI\addPrivacyInfo(), 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\InfoScreen\InfoScreenGUI\addPrivacyInfo(), ILIAS\Survey\Mode\IndividualFeedback\UIModifier\getSurveySettingsResults(), and ILIAS\Survey\Mode\Feedback360\UIModifier\getSurveySettingsResults().
| const ilObjSurvey::RESULTS_SELF_EVAL_ALL = 2 |
| const ilObjSurvey::RESULTS_SELF_EVAL_NONE = 0 |
Definition at line 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().