ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (int $a_id=0, bool $a_call_by_reference=true) | |
create ($a_upload=false) | |
update ($a_upload=false) | |
createReference () | |
creates reference for object More... | |
read () | |
addQuestion (int $question_id) | |
Adds a question to the survey (used in importer!) More... | |
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... | |
deleteSurveyRecord () | |
Deletes the survey from the database. More... | |
deleteAllUserData (bool $reset_LP=true) | |
Deletes all user data of a survey. More... | |
removeSelectedSurveyResults (array $finished_ids) | |
Deletes the user data of a given array of survey participants. More... | |
getSurveyParticipants (?array $finished_ids=null, bool $force_non_anonymous=false, bool $include_invites=false) | |
isComplete () | |
Check if survey is complete for use. More... | |
hasQuestions () | |
saveCompletionStatus () | |
Saves the completion status of the survey. More... | |
duplicateQuestionForSurvey (int $question_id, bool $a_force=false) | |
Takes a question and creates a copy of the question for use in the survey. More... | |
insertQuestion (int $question_id) | |
Inserts a question in the survey and saves the relation to the database. More... | |
isQuestionInSurvey (int $a_question_fi) | |
insertQuestionblock (int $questionblock_id) | |
saveUserSettings (int $usr_id, string $key, string $title, string $value) | |
deleteUserSettings (int $id) | |
getUserSettings (int $usr_id, string $key) | |
saveToDb () | |
saveQuestionsToDb () | |
getQuestionGUI (string $questiontype, int $question_id) | |
getQuestionType (int $question_id) | |
getSurveyId () | |
setAnonymize (int $a_anonymize) | |
set anonymize status More... | |
getAnonymize () | |
setCalculateSumScore (bool $a_val) | |
getCalculateSumScore () | |
isAccessibleWithoutCode () | |
hasAnonymizedResults () | |
loadFromDb () | |
loadQuestionsFromDb () | |
fixSequenceStructure () | |
setAuthor (string $author="") | |
saveAuthorToMetadata (string $a_author="") | |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" surveys where the author hasn't been stored in the lifecycle metadata. More... | |
getAuthor () | |
getShowQuestionTitles () | |
setShowQuestionTitles (bool $a_show) | |
setIntroduction (string $introduction="") | |
setOutro (string $outro="") | |
getStartDate () | |
setStartDate (string $start_date="") | |
setStartDateAndTime (string $start_date, string $start_time) | |
getEndDate () | |
setEndDate (string $end_date="") | |
hasStarted () | |
hasEnded () | |
setEndDateAndTime (string $end_date, string $end_time) | |
getEvaluationAccess () | |
setEvaluationAccess (string $evaluation_access=self::EVALUATION_ACCESS_OFF) | |
setActivationVisibility (bool $a_value) | |
getActivationVisibility () | |
isActivationLimited () | |
setActivationLimited (bool $a_value) | |
getIntroduction () | |
getOutro () | |
getExistingQuestions () | |
Gets the question id's of the questions which are already in the survey. More... | |
getQuestionpoolTitles (bool $could_be_offline=false, bool $showPath=false) | |
Returns the available question pools for the active user. More... | |
moveQuestions (array $move_questions, int $target_index, int $insert_mode) | |
Move questions and/or questionblocks to another position. More... | |
removeQuestion (int $question_id) | |
removeConstraintsConcerningQuestion (int $question_id) | |
Remove constraints concerning a question with a given question_id. More... | |
removeQuestions (array $remove_questions, array $remove_questionblocks) | |
unfoldQuestionblocks (array $questionblocks) | |
removeQuestionFromBlock (int $question_id, int $questionblock_id) | |
addQuestionToBlock (int $question_id, int $questionblock_id) | |
isQuestionInAnyBlock (int $a_question_fi) | |
getQuestionblockQuestions (int $questionblock_id) | |
getQuestionblockQuestionIds (int $questionblock_id) | |
createQuestionblock (string $title, bool $show_questiontext, bool $show_blocktitle, array $questions, bool $compress_view=false) | |
modifyQuestionblock (int $questionblock_id, string $title, bool $show_questiontext, bool $show_blocktitle, bool $compress_view=false) | |
deleteConstraints (int $question_id) | |
Deletes the constraints for a question. More... | |
deleteConstraint (int $constraint_id) | |
Deletes a single constraint. More... | |
getSurveyQuestions (bool $with_answers=false) | |
Returns the survey questions and questionblocks in an array. More... | |
setObligatoryStates (array $obligatory_questions) | |
Sets the obligatory states for questions in a survey from the questions form. More... | |
getSurveyPages () | |
Returns the survey pages in an array (a page contains one or more questions) More... | |
getNextPage (int $active_page_question_id, int $direction) | |
Get current, previous or next page. More... | |
getAvailableQuestionpools (bool $use_obj_id=false, bool $could_be_offline=false, bool $showPath=false, string $permission="read") | |
Returns the available question pools for the active user. More... | |
getPrecondition (int $constraint_id) | |
Returns a precondition with a given id. More... | |
getConstraints (int $question_id) | |
Returns the constraints to a given question or questionblock. More... | |
getVariables (int $question_id) | |
Returns all variables (answer options/scale values) of a question. More... | |
addConstraint (int $if_question_id, int $relation, float $value, int $conjunction) | |
Adds a constraint. More... | |
addConstraintToQuestion (int $to_question_id, int $constraint_id) | |
updateConstraint (int $precondition_id, int $if_question_id, int $relation, float $value, int $conjunction) | |
updateConjunctionForQuestions (array $questions, int $conjunction) | |
getAllRelations (bool $short_as_key=false) | |
deleteWorkingData (int $question_id, int $active_id) | |
Deletes the working data of a question in the database. More... | |
loadWorkingData (int $question_id, int $active_id) | |
Gets the given answer data of a question in a run. More... | |
finishSurvey (int $finished_id, int $appr_id=0) | |
Finishes the survey creating an entry in the database. More... | |
setPage (int $finished_id, int $page_id) | |
Sets the number of the active survey page. More... | |
sendNotificationMail (int $a_user_id, string $a_anonymize_id, int $a_appr_id=0) | |
These mails are sent to tutors for each single participant that finishes a survey. More... | |
getActiveID (int $user_id, string $anonymize_id, int $appr_id) | |
Get run id. More... | |
getLastActivePage (int $active_id) | |
Returns the question id of the last active page a user visited in a survey. More... | |
checkConstraint (array $constraint_data, ?array $working_data) | |
Checks if a constraint is valid. More... | |
getSurveyFinishedIds () | |
Get run ids. More... | |
getUserSpecificResults (array $finished_ids) | |
Calculates the evaluation data for the user specific results. More... | |
getUserDataFromActiveId (int $active_id, bool $force_non_anonymous=false) | |
Returns run information. More... | |
getEvaluationByUser (array $questions, int $active_id) | |
Calculates the evaluation data for a given run. More... | |
getQuestionsTable (array $arrFilter) | |
Retrieve data for question browser. More... | |
getQuestionblocksTable (array $arrFilter) | |
Retrieve data for question block browser. More... | |
toXML () | |
Returns a QTI xml representation of the survey. More... | |
locateImportFiles (string $a_dir) | |
Locates the import directory and the xml file in a directory with an unzipped import file. More... | |
importObject (array $file_info, int $svy_qpl_id) | |
getTextblock (int $question_id) | |
cloneTextblocks (array $mapping) | |
Clones the text blocks of survey questions. More... | |
createExportDirectory () | |
creates data directory for export files (data_dir/svy_data/svy_<id>/export) More... | |
getExportDirectory () | |
createImportDirectory () | |
creates data directory for import files (data_dir/svy_data/svy_<id>/import) More... | |
getImportDirectory () | |
get import directory of survey More... | |
saveHeading (string $heading, int $insertbefore) | |
isAnonymizedParticipant (string $key) | |
getSurveyCodesForExport (?array $a_codes=null, ?array $a_ids=null) | |
Return a list of survey codes for file export, note: user_key needs to be null to export a record. More... | |
getSurveyCodesTableData (?array $ids=null, ?string $lang=null) | |
Fetches the data for the survey codes table. More... | |
isSurveyCodeUsed (string $code) | |
isSurveyCodeUnique (string $code) | |
importSurveyCode (string $a_anonymize_key, int $a_created, array $a_data) | |
sendCodes (int $not_sent, string $subject, string $message, string $lang) | |
getExternalCodeRecipients (bool $a_check_finished=false) | |
isSurveyFinishedByCode (string $a_code) | |
Get if survey is finished for a specific anonymous user code. More... | |
deleteSurveyCode (string $survey_code) | |
getUserAccessCode (int $user_id) | |
Returns a survey access code that was saved for a registered user. More... | |
saveUserAccessCode (int $user_id, string $access_code) | |
Saves a survey access code for a registered user to the database. More... | |
getLastAccess (int $finished_id) | |
prepareTextareaOutput (string $txt_output) | |
Prepares a string for a text area output in surveys. More... | |
isHTML (string $a_text) | |
Checks if a given string contains HTML or not. More... | |
addMaterialTag (ilXmlWriter $a_xml_writer, string $a_material, bool $close_material_tag=true, bool $add_mobs=true, ?array $attribs=null) | |
Creates an XML material tag from a plain text or xhtml text. More... | |
canExportSurveyCode () | |
Checks if the survey code can be exported with the survey evaluation. More... | |
setSurveyId (int $survey_id) | |
getUserData (array $ids) | |
Returns a data of all users specified by id list. More... | |
getMailNotification () | |
Send mail to tutors each time a participant finishes the survey? More... | |
setMailNotification (bool $a_notification) | |
Activate mail to tutors each time a participant finishes the survey. More... | |
getMailAddresses () | |
(Tutor) Recipients of "single participant has finished" mails More... | |
setMailAddresses (string $a_addresses) | |
Set (Tutor) Recipients of "single participant has finished" mails. More... | |
getMailParticipantData () | |
Preceding text (incl. More... | |
setMailParticipantData (string $a_data) | |
Set preceding text (incl. More... | |
getWorkingtimeForParticipant (int $finished_id) | |
updateOrder (array $a_order) | |
getPoolUsage () | |
setPoolUsage (bool $a_value) | |
updateCode (int $a_id, string $a_email, string $a_last_name, string $a_first_name, int $a_sent) | |
get360Mode () | |
set360SelfEvaluation (bool $a_value) | |
get360SelfEvaluation () | |
set360SelfAppraisee (bool $a_value) | |
get360SelfAppraisee () | |
set360SelfRaters (bool $a_value) | |
get360SelfRaters () | |
set360Results (int $a_value) | |
get360Results () | |
addAppraisee (int $a_user_id) | |
sendAppraiseeNotification (int $a_user_id) | |
sendAppraiseeCloseNotification (int $a_user_id) | |
sendRaterNotification (int $a_user_id, int $a_appraisee_id) | |
isAppraisee (int $a_user_id) | |
isAppraiseeClosed (int $a_user_id) | |
deleteAppraisee (int $a_user_id) | |
getAppraiseesData () | |
addRater (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id=0) | |
isRater (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id=0) | |
deleteRater (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id=0) | |
getRatersData (int $a_appraisee_id) | |
getAppraiseesToRate (?int $a_user_id, ?int $a_anonymous_id=null) | |
getAnonymousIdByCode (string $a_code) | |
is360SurveyStarted (int $appr_id, int $user_id, ?string $anonymous_code=null) | |
getUserSurveyExecutionStatus (?string $a_code=null) | |
Get current user execution status. More... | |
findCodeForUser (int $a_user_id) | |
isUnusedCode (string $a_code, int $a_user_id) | |
getFinishedIdsForAppraiseeId (int $a_appr_id, bool $a_exclude_appraisee=false) | |
getFinishedIdForAppraiseeIdAndRaterId (int $a_appr_id, int $a_rat_id) | |
Get finished id for an appraisee and a rater. More... | |
setSkillService (bool $a_val) | |
getSkillService () | |
set360RaterSent (int $a_appraisee_id, int $a_user_id, int $a_anonymous_id, ?int $a_tstamp=null) | |
closeAppraisee (int $a_user_id) | |
openAllAppraisees () | |
getReminderStatus () | |
setReminderStatus (bool $a_value) | |
getReminderStart () | |
setReminderStart (?ilDate $a_value=null) | |
getReminderEnd () | |
setReminderEnd (?ilDate $a_value=null) | |
getReminderFrequency () | |
setReminderFrequency (int $a_value) | |
getReminderTarget () | |
setReminderTarget (int $a_value) | |
getReminderLastSent () | |
setReminderLastSent (?string $a_value) | |
getReminderTemplate (bool $selectDefault=false) | |
setReminderTemplate (?int $a_value) | |
getTutorNotificationStatus () | |
setTutorNotificationStatus (bool $a_value) | |
Activates mail being sent to tutors after all participants have finished the survey. More... | |
getTutorNotificationRecipients () | |
Mail being sent to tutors after all participants have finished the survey? More... | |
setTutorNotificationRecipients (array $a_value) | |
Set tutor recipients for "all participants have finished" mail. More... | |
getTutorNotificationTarget () | |
Group that is checked for the "all participants have finished" mail Either a) all members of a parent group/course or b) all users which have been invited (svy_invitation) (= task on dashboard) More... | |
setTutorNotificationTarget (int $a_value) | |
getTutorResultsStatus () | |
setTutorResultsStatus (bool $a_value) | |
getTutorResultsRecipients () | |
setTutorResultsRecipients (array $a_value) | |
sent360Reminders () | |
Send 360 reminders. More... | |
send360ReminderToUser (int $a_user_id, array $a_appraisee_ids) | |
getNotificationTargetUserIds (bool $a_use_invited) | |
These users must finish the survey to trigger the tutor notification "all users finished the survey" a) members of a parent group/course or b) all members that have been invited (svy_invitation) invitations are presented as tasks on the dashboard. More... | |
checkReminder () | |
setActivationStartDate (?int $starting_time=null) | |
setActivationEndDate (?int $ending_time=null) | |
getActivationStartDate () | |
getActivationEndDate () | |
setViewOwnResults (bool $a_value) | |
hasViewOwnResults () | |
setMailOwnResults (bool $a_value) | |
hasMailOwnResults () | |
setMailConfirmation (bool $a_value) | |
hasMailConfirmation () | |
setAnonymousUserList (bool $a_value) | |
hasAnonymousUserList () | |
getReminderMailTemplates (?int &$defaultTemplateId=null) | |
setMode (int $a_value) | |
getMode () | |
setSelfEvaluationResults (int $a_value) | |
getSelfEvaluationResults () | |
getMaxSumScore () | |
![]() | |
getObjectProperties () | |
flushObjectProperties () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
processAutoRating () | |
read () | |
getId () | |
setId (int $id) | |
setRefId (int $ref_id) | |
getRefId () | |
getType () | |
setType (string $type) | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
getUntranslatedTitle () | |
Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
setTitle (string $title) | |
getDescription () | |
setDescription (string $description) | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
setImportId (string $import_id) | |
setOfflineStatus (bool $status) | |
getOfflineStatus () | |
supportsOfflineHandling () | |
getOwner () | |
getOwnerName () | |
get full name of object owner More... | |
setOwner (int $usr_id) | |
getCreateDate () | |
Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
getLastUpdateDate () | |
Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
create () | |
note: title, description and type should be set when this function is called More... | |
update () | |
MDUpdateListener (string $element) | |
Metadata update listener. More... | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
update owner of object in db More... | |
putInTree (int $parent_ref_id) | |
maybe this method should be in tree object!? More... | |
setPermissions (int $parent_ref_id) | |
setParentRolePermissions (int $parent_ref_id) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
applyDidacticTemplate (int $tpl_id) | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo (int $target_id, int $copy_id, int $new_obj_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies (int $target_id, int $copy_id) | |
Clone object dependencies. More... | |
cloneMetaData (ilObject $target_obj) | |
Copy meta data. More... | |
selfOrParentWithRatingEnabled () | |
getPossibleSubObjects (bool $filter=true) | |
get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | _getQuestionblock (int $questionblock_id) |
get question block properties More... | |
static | _addQuestionblock (string $title="", int $owner=0, bool $show_questiontext=true, bool $show_blocktitle=false, bool $compress_view=false) |
static | _getConstraints (int $survey_id) |
static | _hasDatasets (int $survey_id) |
static | _instanciateQuestion (int $question_id) |
Creates an instance of a question with a given question id. More... | |
static | getSurveySkippedValue () |
static | getSurveysWithTutorResults () |
![]() | |
static | _lookupObjIdByImportId (string $import_id) |
Get (latest) object id for an import id. More... | |
static | _lookupImportId (int $obj_id) |
static | _lookupOwnerName (int $owner_id) |
Lookup owner name for owner id. More... | |
static | _getIdForImportId (string $import_id) |
static | _getAllReferences (int $id) |
get all reference ids for object ID More... | |
static | _lookupTitle (int $obj_id) |
static | lookupOfflineStatus (int $obj_id) |
Lookup offline status using objectDataCache. More... | |
static | _lookupOwner (int $obj_id) |
Lookup owner user ID for object ID. More... | |
static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
static | _lookupDescription (int $obj_id) |
static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
static | _getLastUpdateOfObjects (array $obj_ids) |
static | _lookupObjId (int $ref_id) |
static | _setDeletedDate (int $ref_id, int $deleted_by) |
static | setDeletedDates (array $ref_ids, int $user_id) |
static | _resetDeletedDate (int $ref_id) |
static | _lookupDeletedDate (int $ref_id) |
static | _writeTitle (int $obj_id, string $title) |
write title to db (static) More... | |
static | _writeDescription (int $obj_id, string $desc) |
write description to db (static) More... | |
static | _writeImportId (int $obj_id, string $import_id) |
write import id to db (static) More... | |
static | _lookupType (int $id, bool $reference=false) |
static | _isInTrash (int $ref_id) |
static | _hasUntrashedReference (int $obj_id) |
checks whether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId (int $ref_id) |
static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
get all objects of a certain type More... | |
static | _exists (int $id, bool $reference=false, ?string $type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType (string $obj_type="", ?int $owner=null) |
static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
Prepare copy wizard object selection. More... | |
static | getIconForType (string $type) |
static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies (int $obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $obj_ids) |
static | getAllOwnedRepositoryObjects (int $user_id) |
static | fixMissingTitles ($type, array &$obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate (int $obj_id) |
static | _getObjectTypeIdByTitle (string $type, ?\ilDBInterface $ilDB=null) |
Protected Member Functions | |
initServices () | |
doCreateMetaData () | |
getParticipantTextResults (int $active_id) | |
checkTutorNotification () | |
Check, if mail to tutors after all participants have finished the survey should be sent. More... | |
sendTutorNotification () | |
Send mail to tutors after all participants have finished the survey. More... | |
sentReminderPlaceholders (string $a_message, int $a_user_id, array $a_context_params) | |
![]() | |
doMDUpdateListener (string $a_element) | |
beforeMDUpdateListener (string $a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDeleteMetaData () | |
beforeDeleteMetaData () | |
handleAutoRating () | |
hasAutoRating () | |
Definition at line 26 of file class.ilObjSurvey.php.
ilObjSurvey::__construct | ( | int | $a_id = 0 , |
bool | $a_call_by_reference = true |
||
) |
Definition at line 145 of file class.ilObjSurvey.php.
References $DIC, ilObject\$lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ANONYMIZE_OFF, EVALUATION_ACCESS_OFF, ilLoggerFactory\getLogger(), initServices(), ILIAS\Repository\lng(), MODE_STANDARD, QUESTIONTITLES_VISIBLE, RESULTS_SELF_EVAL_OWN, ilLanguage\txt(), and ILIAS\Repository\user().
|
static |
Definition at line 1674 of file class.ilObjSurvey.php.
|
static |
Definition at line 2100 of file class.ilObjSurvey.php.
|
static |
get question block properties
Definition at line 1656 of file class.ilObjSurvey.php.
|
static |
Definition at line 2636 of file class.ilObjSurvey.php.
Referenced by ilSurveyConstraintsGUI\constraintsObject(), ilSurveySyncTableGUI\importData(), and ilSurveyEditorGUI\questionsObject().
|
static |
Creates an instance of a question with a given question id.
Definition at line 3094 of file class.ilObjSurvey.php.
Referenced by ilSurveyEditorGUI\copyPasteObject(), ilSurveyEditorGUI\copyQuestionsToPoolObject(), and ilSurveyEditorGUI\executeCopyQuestionsToPoolObject().
ilObjSurvey::addAppraisee | ( | int | $a_user_id | ) |
Definition at line 4277 of file class.ilObjSurvey.php.
References $ilDB, and ilRBACAccessHandler\checkAccessOfUser().
ilObjSurvey::addConstraint | ( | int | $if_question_id, |
int | $relation, | ||
float | $value, | ||
int | $conjunction | ||
) |
Adds a constraint.
int | $if_question_id | question id of the question which defines a precondition |
int | $relation | relation id |
float | $value | value compared with the relation |
int | $conjunction |
Definition at line 2161 of file class.ilObjSurvey.php.
ilObjSurvey::addConstraintToQuestion | ( | int | $to_question_id, |
int | $constraint_id | ||
) |
Definition at line 2187 of file class.ilObjSurvey.php.
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 4011 of file class.ilObjSurvey.php.
ilObjSurvey::addQuestion | ( | int | $question_id | ) |
Adds a question to the survey (used in importer!)
Definition at line 260 of file class.ilObjSurvey.php.
ilObjSurvey::addQuestionToBlock | ( | int | $question_id, |
int | $questionblock_id | ||
) |
Definition at line 1547 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::addRater | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id = 0 |
||
) |
Definition at line 4478 of file class.ilObjSurvey.php.
References $ilDB, and ilRBACAccessHandler\checkAccessOfUser().
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 4056 of file class.ilObjSurvey.php.
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 2574 of file class.ilObjSurvey.php.
ilObjSurvey::checkReminder | ( | ) |
Definition at line 5316 of file class.ilObjSurvey.php.
References $ilDB, $user_id, ilObjectActivation\getItem(), IL_CAL_DATE, IL_CAL_DAY, and ilObjectActivation\TIMINGS_ACTIVATION.
|
protected |
Check, if mail to tutors after all participants have finished the survey should be sent.
Definition at line 5124 of file class.ilObjSurvey.php.
References $ilDB.
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 3430 of file class.ilObjSurvey.php.
References ilRTESettings\_getUsedHTMLTagsAsString(), and ilUtil\stripSlashes().
ilObjSurvey::closeAppraisee | ( | int | $a_user_id | ) |
Definition at line 4885 of file class.ilObjSurvey.php.
ilObjSurvey::create | ( | $a_upload = false | ) |
Definition at line 212 of file class.ilObjSurvey.php.
References $id, ilObject\createMetaData(), ilObject\setOfflineStatus(), and ilObject\update().
ilObjSurvey::createExportDirectory | ( | ) |
creates data directory for export files (data_dir/svy_data/svy_<id>/export)
ilSurveyException |
Definition at line 3445 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ILIAS\Survey\Mode\getId(), and ilFileUtils\makeDir().
ilObjSurvey::createImportDirectory | ( | ) |
creates data directory for import files (data_dir/svy_data/svy_<id>/import)
ilSurveyException |
Definition at line 3483 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ILIAS\Survey\Mode\getId(), and ilFileUtils\makeDir().
ilObjSurvey::createQuestionblock | ( | string | $title, |
bool | $show_questiontext, | ||
bool | $show_blocktitle, | ||
array | $questions, | ||
bool | $compress_view = false |
||
) |
int[] | $questions | array with question ids |
Definition at line 1698 of file class.ilObjSurvey.php.
ilObjSurvey::createReference | ( | ) |
creates reference for object
Reimplemented from ilObject.
Definition at line 243 of file class.ilObjSurvey.php.
References saveToDb().
ilObjSurvey::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!!
Reimplemented from ilObject.
Definition at line 265 of file class.ilObjSurvey.php.
References ilObject\countReferences(), ilFileUtils\delDir(), ilObject\deleteMetaData(), deleteSurveyRecord(), ilObject\getId(), getImportDirectory(), ilObject\getRefId(), ilObject\getTitle(), and removeQuestion().
ilObjSurvey::deleteAllUserData | ( | bool | $reset_LP = true | ) |
Deletes all user data of a survey.
bool | $reset_LP | notice that the LP can only be reset it the determining components still exist |
Definition at line 354 of file class.ilObjSurvey.php.
Referenced by deleteSurveyRecord().
ilObjSurvey::deleteAppraisee | ( | int | $a_user_id | ) |
Definition at line 4422 of file class.ilObjSurvey.php.
ilObjSurvey::deleteConstraint | ( | int | $constraint_id | ) |
Deletes a single constraint.
Definition at line 1782 of file class.ilObjSurvey.php.
ilObjSurvey::deleteConstraints | ( | int | $question_id | ) |
Deletes the constraints for a question.
Definition at line 1760 of file class.ilObjSurvey.php.
ilObjSurvey::deleteRater | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id = 0 |
||
) |
Definition at line 4542 of file class.ilObjSurvey.php.
ilObjSurvey::deleteSurveyCode | ( | string | $survey_code | ) |
Definition at line 3894 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::deleteSurveyRecord | ( | ) |
Deletes the survey from the database.
Definition at line 297 of file class.ilObjSurvey.php.
References ilObject\$db, $ilDB, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), deleteAllUserData(), ilFileUtils\getDataDir(), ilObject\getId(), and getSurveyId().
Referenced by delete().
ilObjSurvey::deleteUserSettings | ( | int | $id | ) |
ilObjSurvey::deleteWorkingData | ( | int | $question_id, |
int | $active_id | ||
) |
Deletes the working data of a question in the database.
Definition at line 2276 of file class.ilObjSurvey.php.
|
protected |
Reimplemented from ilObject.
Definition at line 223 of file class.ilObjSurvey.php.
References saveAuthorToMetadata().
ilObjSurvey::duplicateQuestionForSurvey | ( | int | $question_id, |
bool | $a_force = false |
||
) |
Takes a question and creates a copy of the question for use in the survey.
Definition at line 530 of file class.ilObjSurvey.php.
ilObjSurvey::findCodeForUser | ( | int | $a_user_id | ) |
Definition at line 4765 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::finishSurvey | ( | int | $finished_id, |
int | $appr_id = 0 |
||
) |
Finishes the survey creating an entry in the database.
Definition at line 2316 of file class.ilObjSurvey.php.
ilObjSurvey::fixSequenceStructure | ( | ) |
Definition at line 1074 of file class.ilObjSurvey.php.
ilObjSurvey::get360Mode | ( | ) |
Definition at line 4226 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees().
ilObjSurvey::get360Results | ( | ) |
Definition at line 4269 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
ilObjSurvey::get360SelfAppraisee | ( | ) |
Definition at line 4249 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Participants\StatusManager\canAddItselfAsAppraisee().
ilObjSurvey::get360SelfEvaluation | ( | ) |
Definition at line 4239 of file class.ilObjSurvey.php.
ilObjSurvey::get360SelfRaters | ( | ) |
Definition at line 4259 of file class.ilObjSurvey.php.
ilObjSurvey::getActivationEndDate | ( | ) |
Definition at line 5487 of file class.ilObjSurvey.php.
ilObjSurvey::getActivationStartDate | ( | ) |
Definition at line 5482 of file class.ilObjSurvey.php.
ilObjSurvey::getActivationVisibility | ( | ) |
Definition at line 1303 of file class.ilObjSurvey.php.
ilObjSurvey::getActiveID | ( | int | $user_id, |
string | $anonymize_id, | ||
int | $appr_id | ||
) |
Get run id.
Definition at line 2514 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::getAllRelations | ( | bool | $short_as_key = false | ) |
Definition at line 2242 of file class.ilObjSurvey.php.
ilObjSurvey::getAnonymize | ( | ) |
Definition at line 951 of file class.ilObjSurvey.php.
ilObjSurvey::getAnonymousIdByCode | ( | string | $a_code | ) |
Definition at line 4655 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Participants\StatusManager\isExternalRater().
ilObjSurvey::getAppraiseesData | ( | ) |
Definition at line 4447 of file class.ilObjSurvey.php.
References $ilDB, $res, ilObjUser\_lookupEmail(), and ilObjUser\_lookupName().
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees().
ilObjSurvey::getAppraiseesToRate | ( | ?int | $a_user_id, |
?int | $a_anonymous_id = null |
||
) |
Definition at line 4620 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Participants\StatusManager\isExternalRater().
ilObjSurvey::getAuthor | ( | ) |
Definition at line 1152 of file class.ilObjSurvey.php.
References ILIAS\Survey\Mode\getId().
ilObjSurvey::getAvailableQuestionpools | ( | bool | $use_obj_id = false , |
bool | $could_be_offline = false , |
||
bool | $showPath = false , |
||
string | $permission = "read" |
||
) |
Returns the available question pools for the active user.
Definition at line 2029 of file class.ilObjSurvey.php.
ilObjSurvey::getCalculateSumScore | ( | ) |
Definition at line 962 of file class.ilObjSurvey.php.
ilObjSurvey::getConstraints | ( | int | $question_id | ) |
Returns the constraints to a given question or questionblock.
Definition at line 2065 of file class.ilObjSurvey.php.
Referenced by SurveyConstraintsTableGUI\initItems().
ilObjSurvey::getEndDate | ( | ) |
Definition at line 1224 of file class.ilObjSurvey.php.
ilObjSurvey::getEvaluationAccess | ( | ) |
Definition at line 1286 of file class.ilObjSurvey.php.
ilObjSurvey::getEvaluationByUser | ( | array | $questions, |
int | $active_id | ||
) |
Calculates the evaluation data for a given run.
Definition at line 2776 of file class.ilObjSurvey.php.
ilObjSurvey::getExistingQuestions | ( | ) |
Gets the question id's of the questions which are already in the survey.
Definition at line 1332 of file class.ilObjSurvey.php.
References $data, $ilDB, and ILIAS\Repository\int().
ilObjSurvey::getExportDirectory | ( | ) |
Definition at line 3470 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), and ILIAS\Survey\Mode\getId().
ilObjSurvey::getExternalCodeRecipients | ( | bool | $a_check_finished = false | ) |
Definition at line 3838 of file class.ilObjSurvey.php.
ilObjSurvey::getFinishedIdForAppraiseeIdAndRaterId | ( | int | $a_appr_id, |
int | $a_rat_id | ||
) |
Get finished id for an appraisee and a rater.
Definition at line 4830 of file class.ilObjSurvey.php.
ilObjSurvey::getFinishedIdsForAppraiseeId | ( | int | $a_appr_id, |
bool | $a_exclude_appraisee = false |
||
) |
Definition at line 4805 of file class.ilObjSurvey.php.
ilObjSurvey::getImportDirectory | ( | ) |
get import directory of survey
Definition at line 3511 of file class.ilObjSurvey.php.
References ilFileUtils\getDataDir(), ILIAS\Survey\Mode\getId(), and ilFileUtils\makeDirParents().
Referenced by delete().
ilObjSurvey::getIntroduction | ( | ) |
Definition at line 1318 of file class.ilObjSurvey.php.
ilObjSurvey::getLastAccess | ( | int | $finished_id | ) |
Definition at line 3957 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::getLastActivePage | ( | int | $active_id | ) |
Returns the question id of the last active page a user visited in a survey.
Definition at line 2551 of file class.ilObjSurvey.php.
ilObjSurvey::getMailAddresses | ( | ) |
(Tutor) Recipients of "single participant has finished" mails
Definition at line 4114 of file class.ilObjSurvey.php.
ilObjSurvey::getMailNotification | ( | ) |
Send mail to tutors each time a participant finishes the survey?
Definition at line 4098 of file class.ilObjSurvey.php.
ilObjSurvey::getMailParticipantData | ( | ) |
Preceding text (incl.
placeholders) for "single participant has finished" mails
Definition at line 4130 of file class.ilObjSurvey.php.
ilObjSurvey::getMaxSumScore | ( | ) |
Definition at line 5639 of file class.ilObjSurvey.php.
References $c, and ilObjSurveyQuestionPool\_getQuestionClasses().
ilObjSurvey::getMode | ( | ) |
Definition at line 5590 of file class.ilObjSurvey.php.
Referenced by ilSurveyExecutionGUI\__construct(), ILIAS\Survey\Participants\StatusManager\__construct(), ILIAS\Survey\Evaluation\EvaluationManager\__construct(), ILIAS\Survey\Settings\UIFactory\__construct(), ILIAS\Survey\Settings\SettingsFormGUI\__construct(), ILIAS\Survey\Execution\RunManager\__construct(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), initServices(), ILIAS\Survey\Participants\StatusManager\isExternalRater(), and ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
ilObjSurvey::getNextPage | ( | int | $active_page_question_id, |
int | $direction | ||
) |
Get current, previous or next page.
int | $active_page_question_id | The database id of one of the questions on that page |
int | $direction | The direction of the next page (-1 = previous page, 1 = next page) |
ilSurveyException |
Definition at line 1996 of file class.ilObjSurvey.php.
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 5259 of file class.ilObjSurvey.php.
ilObjSurvey::getOutro | ( | ) |
Definition at line 1323 of file class.ilObjSurvey.php.
|
protected |
Definition at line 2485 of file class.ilObjSurvey.php.
ilObjSurvey::getPoolUsage | ( | ) |
Definition at line 4174 of file class.ilObjSurvey.php.
ilObjSurvey::getPrecondition | ( | int | $constraint_id | ) |
Returns a precondition with a given id.
Definition at line 2042 of file class.ilObjSurvey.php.
ilObjSurvey::getQuestionblockQuestionIds | ( | int | $questionblock_id | ) |
int | $questionblock_id |
Definition at line 1629 of file class.ilObjSurvey.php.
ilObjSurvey::getQuestionblockQuestions | ( | int | $questionblock_id | ) |
int | $questionblock_id |
Definition at line 1592 of file class.ilObjSurvey.php.
ilObjSurvey::getQuestionblocksTable | ( | array | $arrFilter | ) |
Retrieve data for question block browser.
Definition at line 2881 of file class.ilObjSurvey.php.
References $ilDB.
Referenced by ilSurveyQuestionblockbrowserTableGUI\initData().
ilObjSurvey::getQuestionGUI | ( | string | $questiontype, |
int | $question_id | ||
) |
Definition at line 899 of file class.ilObjSurvey.php.
ilObjSurvey::getQuestionpoolTitles | ( | bool | $could_be_offline = false , |
bool | $showPath = false |
||
) |
Returns the available question pools for the active user.
Definition at line 1354 of file class.ilObjSurvey.php.
ilObjSurvey::getQuestionsTable | ( | array | $arrFilter | ) |
Retrieve data for question browser.
Definition at line 2819 of file class.ilObjSurvey.php.
References $ilDB.
Referenced by ilSurveyQuestionbrowserTableGUI\initData().
ilObjSurvey::getQuestionType | ( | int | $question_id | ) |
Definition at line 907 of file class.ilObjSurvey.php.
ilObjSurvey::getRatersData | ( | int | $a_appraisee_id | ) |
Definition at line 4564 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getSelectableRaters().
ilObjSurvey::getReminderEnd | ( | ) |
Definition at line 4992 of file class.ilObjSurvey.php.
ilObjSurvey::getReminderFrequency | ( | ) |
Definition at line 5002 of file class.ilObjSurvey.php.
ilObjSurvey::getReminderLastSent | ( | ) |
Definition at line 5022 of file class.ilObjSurvey.php.
ilObjSurvey::getReminderMailTemplates | ( | ?int & | $defaultTemplateId = null | ) |
Definition at line 5548 of file class.ilObjSurvey.php.
ilObjSurvey::getReminderStart | ( | ) |
Definition at line 4982 of file class.ilObjSurvey.php.
ilObjSurvey::getReminderStatus | ( | ) |
Definition at line 4972 of file class.ilObjSurvey.php.
ilObjSurvey::getReminderTarget | ( | ) |
Definition at line 5012 of file class.ilObjSurvey.php.
ilObjSurvey::getReminderTemplate | ( | bool | $selectDefault = false | ) |
Definition at line 5035 of file class.ilObjSurvey.php.
ilObjSurvey::getSelfEvaluationResults | ( | ) |
Definition at line 5600 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
ilObjSurvey::getShowQuestionTitles | ( | ) |
Definition at line 1161 of file class.ilObjSurvey.php.
ilObjSurvey::getSkillService | ( | ) |
Definition at line 4854 of file class.ilObjSurvey.php.
ilObjSurvey::getStartDate | ( | ) |
Definition at line 1183 of file class.ilObjSurvey.php.
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 3575 of file class.ilObjSurvey.php.
References $ilDB.
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 3649 of file class.ilObjSurvey.php.
ilObjSurvey::getSurveyFinishedIds | ( | ) |
Get run ids.
Definition at line 2656 of file class.ilObjSurvey.php.
References $ilDB, and ILIAS\Repository\int().
ilObjSurvey::getSurveyId | ( | ) |
Definition at line 928 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Code\CodeManager\__construct(), ILIAS\Survey\Execution\RunManager\__construct(), deleteSurveyRecord(), and ilSurveyParticipantsTableGUI\getItems().
ilObjSurvey::getSurveyPages | ( | ) |
Returns the survey pages in an array (a page contains one or more questions)
Definition at line 1911 of file class.ilObjSurvey.php.
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 $ilDB.
Referenced by ilSurveyParticipantsTableGUI\getItems(), and ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees().
ilObjSurvey::getSurveyQuestions | ( | bool | $with_answers = false | ) |
Returns the survey questions and questionblocks in an array.
Definition at line 1802 of file class.ilObjSurvey.php.
Referenced by SurveyConstraintsTableGUI\initItems().
|
static |
Definition at line 5532 of file class.ilObjSurvey.php.
Referenced by ilSurveyResultsUserTableGUI\fillRow(), and SurveyQuestionEvaluation\getSkippedValue().
|
static |
Definition at line 5608 of file class.ilObjSurvey.php.
References $ilDB, $log, $q, $res, ilLoggerFactory\getLogger(), and ILIAS\Repository\int().
ilObjSurvey::getTextblock | ( | int | $question_id | ) |
Definition at line 3409 of file class.ilObjSurvey.php.
ilObjSurvey::getTutorNotificationRecipients | ( | ) |
Mail being sent to tutors after all participants have finished the survey?
Definition at line 5071 of file class.ilObjSurvey.php.
ilObjSurvey::getTutorNotificationStatus | ( | ) |
Definition at line 5055 of file class.ilObjSurvey.php.
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 5090 of file class.ilObjSurvey.php.
ilObjSurvey::getTutorResultsRecipients | ( | ) |
Definition at line 5110 of file class.ilObjSurvey.php.
ilObjSurvey::getTutorResultsStatus | ( | ) |
Definition at line 5100 of file class.ilObjSurvey.php.
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 3914 of file class.ilObjSurvey.php.
ilObjSurvey::getUserData | ( | array | $ids | ) |
Returns a data of all users specified by id list.
int[] | $ids | array of user id's |
Definition at line 4078 of file class.ilObjSurvey.php.
ilObjSurvey::getUserDataFromActiveId | ( | int | $active_id, |
bool | $force_non_anonymous = false |
||
) |
Returns run information.
Definition at line 2709 of file class.ilObjSurvey.php.
ilObjSurvey::getUserSettings | ( | int | $usr_id, |
string | $key | ||
) |
Definition at line 675 of file class.ilObjSurvey.php.
ilObjSurvey::getUserSpecificResults | ( | array | $finished_ids | ) |
Calculates the evaluation data for the user specific results.
int[] | $finished_ids |
Definition at line 2679 of file class.ilObjSurvey.php.
References $data, $user_id, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), and SurveyQuestion\_instanciateQuestionEvaluation().
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 4701 of file class.ilObjSurvey.php.
References $user_id, and ANONYMOUS_USER_ID.
ilObjSurvey::getVariables | ( | int | $question_id | ) |
Returns all variables (answer options/scale values) of a question.
Definition at line 2133 of file class.ilObjSurvey.php.
ilObjSurvey::getWorkingtimeForParticipant | ( | int | $finished_id | ) |
Definition at line 4146 of file class.ilObjSurvey.php.
ilObjSurvey::hasAnonymizedResults | ( | ) |
Definition at line 975 of file class.ilObjSurvey.php.
ilObjSurvey::hasAnonymousUserList | ( | ) |
Definition at line 5527 of file class.ilObjSurvey.php.
ilObjSurvey::hasEnded | ( | ) |
Definition at line 1248 of file class.ilObjSurvey.php.
References IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
ilObjSurvey::hasMailConfirmation | ( | ) |
Definition at line 5517 of file class.ilObjSurvey.php.
ilObjSurvey::hasMailOwnResults | ( | ) |
Definition at line 5507 of file class.ilObjSurvey.php.
ilObjSurvey::hasQuestions | ( | ) |
Definition at line 505 of file class.ilObjSurvey.php.
ilObjSurvey::hasStarted | ( | ) |
Definition at line 1238 of file class.ilObjSurvey.php.
References IL_CAL_TIMESTAMP, and IL_CAL_UNIX.
ilObjSurvey::hasViewOwnResults | ( | ) |
Definition at line 5497 of file class.ilObjSurvey.php.
ilObjSurvey::importObject | ( | array | $file_info, |
int | $svy_qpl_id | ||
) |
Definition at line 3164 of file class.ilObjSurvey.php.
ilObjSurvey::importSurveyCode | ( | string | $a_anonymize_key, |
int | $a_created, | ||
array | $a_data | ||
) |
Definition at line 3742 of file class.ilObjSurvey.php.
|
protected |
Definition at line 194 of file class.ilObjSurvey.php.
References getMode(), ilObject\getRefId(), and ILIAS\Repository\user().
Referenced by __construct(), and read().
ilObjSurvey::insertQuestion | ( | int | $question_id | ) |
Inserts a question in the survey and saves the relation to the database.
Definition at line 550 of file class.ilObjSurvey.php.
ilObjSurvey::insertQuestionblock | ( | int | $questionblock_id | ) |
Definition at line 609 of file class.ilObjSurvey.php.
ilObjSurvey::is360SurveyStarted | ( | int | $appr_id, |
int | $user_id, | ||
?string | $anonymous_code = null |
||
) |
Definition at line 4669 of file class.ilObjSurvey.php.
ilObjSurvey::isAccessibleWithoutCode | ( | ) |
Definition at line 968 of file class.ilObjSurvey.php.
ilObjSurvey::isActivationLimited | ( | ) |
Definition at line 1308 of file class.ilObjSurvey.php.
ilObjSurvey::isAnonymizedParticipant | ( | string | $key | ) |
string | $key | (access code) |
Definition at line 3554 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::isAppraisee | ( | int | $a_user_id | ) |
Definition at line 4392 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Participants\StatusManager\canAddItselfAsAppraisee(), and ILIAS\Survey\Participants\StatusManager\isAppraisee().
ilObjSurvey::isAppraiseeClosed | ( | int | $a_user_id | ) |
Definition at line 4406 of file class.ilObjSurvey.php.
ilObjSurvey::isComplete | ( | ) |
Check if survey is complete for use.
Definition at line 500 of file class.ilObjSurvey.php.
References ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().
ilObjSurvey::isHTML | ( | string | $a_text | ) |
Checks if a given string contains HTML or not.
Definition at line 3997 of file class.ilObjSurvey.php.
ilObjSurvey::isQuestionInAnyBlock | ( | int | $a_question_fi | ) |
Definition at line 1570 of file class.ilObjSurvey.php.
ilObjSurvey::isQuestionInSurvey | ( | int | $a_question_fi | ) |
Definition at line 592 of file class.ilObjSurvey.php.
ilObjSurvey::isRater | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id = 0 |
||
) |
Definition at line 4511 of file class.ilObjSurvey.php.
ilObjSurvey::isSurveyCodeUnique | ( | string | $code | ) |
Definition at line 3727 of file class.ilObjSurvey.php.
ilObjSurvey::isSurveyCodeUsed | ( | string | $code | ) |
Definition at line 3712 of file class.ilObjSurvey.php.
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 3878 of file class.ilObjSurvey.php.
ilObjSurvey::isUnusedCode | ( | string | $a_code, |
int | $a_user_id | ||
) |
Definition at line 4783 of file class.ilObjSurvey.php.
ilObjSurvey::loadFromDb | ( | ) |
Definition at line 981 of file class.ilObjSurvey.php.
References $data, $ilDB, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Survey\Mode\getId(), ilObjectActivation\getItem(), IL_CAL_DATE, ILIAS\Repository\lng(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by read().
ilObjSurvey::loadQuestionsFromDb | ( | ) |
Definition at line 1059 of file class.ilObjSurvey.php.
ilObjSurvey::loadWorkingData | ( | int | $question_id, |
int | $active_id | ||
) |
Gets the given answer data of a question in a run.
Definition at line 2293 of file class.ilObjSurvey.php.
ilObjSurvey::locateImportFiles | ( | string | $a_dir | ) |
Locates the import directory and the xml file in a directory with an unzipped import file.
Definition at line 3115 of file class.ilObjSurvey.php.
ilObjSurvey::modifyQuestionblock | ( | int | $questionblock_id, |
string | $title, | ||
bool | $show_questiontext, | ||
bool | $show_blocktitle, | ||
bool | $compress_view = false |
||
) |
Definition at line 1740 of file class.ilObjSurvey.php.
ilObjSurvey::moveQuestions | ( | array | $move_questions, |
int | $target_index, | ||
int | $insert_mode | ||
) |
Move questions and/or questionblocks to another position.
array | $move_questions | An array with the question id's of the questions to move |
int | $target_index | The question id of the target position |
int | $insert_mode | 0, if insert before the target position, 1 if insert after the target position |
Definition at line 1368 of file class.ilObjSurvey.php.
ilObjSurvey::openAllAppraisees | ( | ) |
Definition at line 4915 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::prepareTextareaOutput | ( | string | $txt_output | ) |
Prepares a string for a text area output in surveys.
Definition at line 3987 of file class.ilObjSurvey.php.
ilObjSurvey::read | ( | ) |
Reimplemented from ilObject.
Definition at line 250 of file class.ilObjSurvey.php.
References initServices(), and loadFromDb().
ilObjSurvey::removeConstraintsConcerningQuestion | ( | int | $question_id | ) |
Remove constraints concerning a question with a given question_id.
Definition at line 1432 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::removeQuestion | ( | int | $question_id | ) |
Definition at line 1417 of file class.ilObjSurvey.php.
Referenced by delete().
ilObjSurvey::removeQuestionFromBlock | ( | int | $question_id, |
int | $questionblock_id | ||
) |
Definition at line 1531 of file class.ilObjSurvey.php.
ilObjSurvey::removeQuestions | ( | array | $remove_questions, |
array | $remove_questionblocks | ||
) |
int[] | $remove_questions | question ids of the questions to remove |
int[] | $remove_questionblocks | questionblock ids of the questions blocks to remove |
Definition at line 1466 of file class.ilObjSurvey.php.
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 $ilDB, and ILIAS\Repository\int().
ilObjSurvey::saveAuthorToMetadata | ( | string | $a_author = "" | ) |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" surveys where the author hasn't been stored in the lifecycle metadata.
Definition at line 1136 of file class.ilObjSurvey.php.
Referenced by doCreateMetaData().
ilObjSurvey::saveCompletionStatus | ( | ) |
Saves the completion status of the survey.
Definition at line 514 of file class.ilObjSurvey.php.
ilObjSurvey::saveHeading | ( | string | $heading, |
int | $insertbefore | ||
) |
string | $heading | |
int | $insertbefore | question id which gets the heading (before) |
Definition at line 3530 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::saveQuestionsToDb | ( | ) |
Definition at line 831 of file class.ilObjSurvey.php.
ilObjSurvey::saveToDb | ( | ) |
Definition at line 696 of file class.ilObjSurvey.php.
References $ilDB, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Survey\Mode\getId(), ilObjectActivation\getItem(), IL_CAL_DATE, ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by createReference().
ilObjSurvey::saveUserAccessCode | ( | int | $user_id, |
string | $access_code | ||
) |
Saves a survey access code for a registered user to the database.
int | $user_id | The database id of the user |
string | $access_code | The survey access code |
Definition at line 3936 of file class.ilObjSurvey.php.
ilObjSurvey::saveUserSettings | ( | int | $usr_id, |
string | $key, | ||
string | $title, | ||
string | $value | ||
) |
Definition at line 645 of file class.ilObjSurvey.php.
ilObjSurvey::send360ReminderToUser | ( | int | $a_user_id, |
array | $a_appraisee_ids | ||
) |
Definition at line 5219 of file class.ilObjSurvey.php.
ilObjSurvey::sendAppraiseeCloseNotification | ( | int | $a_user_id | ) |
Definition at line 4332 of file class.ilObjSurvey.php.
ilObjSurvey::sendAppraiseeNotification | ( | int | $a_user_id | ) |
Definition at line 4303 of file class.ilObjSurvey.php.
ilObjSurvey::sendCodes | ( | int | $not_sent, |
string | $subject, | ||
string | $message, | ||
string | $lang | ||
) |
Definition at line 3761 of file class.ilObjSurvey.php.
ilObjSurvey::sendNotificationMail | ( | int | $a_user_id, |
string | $a_anonymize_id, | ||
int | $a_appr_id = 0 |
||
) |
These mails are sent to tutors for each single participant that finishes a survey.
It includes the "additional participant data" text that can be set in the settings screen.
ilWACException |
Definition at line 2390 of file class.ilObjSurvey.php.
ilObjSurvey::sendRaterNotification | ( | int | $a_user_id, |
int | $a_appraisee_id | ||
) |
Definition at line 4361 of file class.ilObjSurvey.php.
|
protected |
Send mail to tutors after all participants have finished the survey.
Definition at line 5286 of file class.ilObjSurvey.php.
References $message, $user_id, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getStaticLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ANONYMOUS_USER_ID, and ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().
ilObjSurvey::sent360Reminders | ( | ) |
Send 360 reminders.
Definition at line 5150 of file class.ilObjSurvey.php.
References $DIC, $id, ilObjUser\_lookupId(), and ilRBACAccessHandler\checkAccessOfUser().
|
protected |
Definition at line 5566 of file class.ilObjSurvey.php.
ilObjSurvey::set360RaterSent | ( | int | $a_appraisee_id, |
int | $a_user_id, | ||
int | $a_anonymous_id, | ||
?int | $a_tstamp = null |
||
) |
Definition at line 4862 of file class.ilObjSurvey.php.
ilObjSurvey::set360Results | ( | int | $a_value | ) |
Definition at line 4264 of file class.ilObjSurvey.php.
ilObjSurvey::set360SelfAppraisee | ( | bool | $a_value | ) |
Definition at line 4244 of file class.ilObjSurvey.php.
ilObjSurvey::set360SelfEvaluation | ( | bool | $a_value | ) |
Definition at line 4234 of file class.ilObjSurvey.php.
ilObjSurvey::set360SelfRaters | ( | bool | $a_value | ) |
Definition at line 4254 of file class.ilObjSurvey.php.
ilObjSurvey::setActivationEndDate | ( | ?int | $ending_time = null | ) |
Definition at line 5476 of file class.ilObjSurvey.php.
ilObjSurvey::setActivationLimited | ( | bool | $a_value | ) |
Definition at line 1313 of file class.ilObjSurvey.php.
ilObjSurvey::setActivationStartDate | ( | ?int | $starting_time = null | ) |
Definition at line 5470 of file class.ilObjSurvey.php.
ilObjSurvey::setActivationVisibility | ( | bool | $a_value | ) |
Definition at line 1297 of file class.ilObjSurvey.php.
ilObjSurvey::setAnonymize | ( | int | $a_anonymize | ) |
set anonymize status
Definition at line 936 of file class.ilObjSurvey.php.
ilObjSurvey::setAnonymousUserList | ( | bool | $a_value | ) |
Definition at line 5522 of file class.ilObjSurvey.php.
ilObjSurvey::setAuthor | ( | string | $author = "" | ) |
Definition at line 1125 of file class.ilObjSurvey.php.
ilObjSurvey::setCalculateSumScore | ( | bool | $a_val | ) |
Definition at line 956 of file class.ilObjSurvey.php.
ilObjSurvey::setEndDate | ( | string | $end_date = "" | ) |
string | $end_date | (YYYYMMDDHHMMSS) |
Definition at line 1232 of file class.ilObjSurvey.php.
ilObjSurvey::setEndDateAndTime | ( | string | $end_date, |
string | $end_time | ||
) |
string | $end_date | (YYYY-MM-DD) |
string | $end_time | (HH:MM:SS) |
Definition at line 1262 of file class.ilObjSurvey.php.
References Vendor\Package\$d.
ilObjSurvey::setEvaluationAccess | ( | string | $evaluation_access = self::EVALUATION_ACCESS_OFF | ) |
Definition at line 1291 of file class.ilObjSurvey.php.
ilObjSurvey::setIntroduction | ( | string | $introduction = "" | ) |
Definition at line 1171 of file class.ilObjSurvey.php.
ilObjSurvey::setMailAddresses | ( | string | $a_addresses | ) |
Set (Tutor) Recipients of "single participant has finished" mails.
Definition at line 4122 of file class.ilObjSurvey.php.
ilObjSurvey::setMailConfirmation | ( | bool | $a_value | ) |
Definition at line 5512 of file class.ilObjSurvey.php.
ilObjSurvey::setMailNotification | ( | bool | $a_notification | ) |
Activate mail to tutors each time a participant finishes the survey.
Definition at line 4106 of file class.ilObjSurvey.php.
ilObjSurvey::setMailOwnResults | ( | bool | $a_value | ) |
Definition at line 5502 of file class.ilObjSurvey.php.
ilObjSurvey::setMailParticipantData | ( | string | $a_data | ) |
Set preceding text (incl.
placeholders) for "single participant has finished" mails
Definition at line 4138 of file class.ilObjSurvey.php.
ilObjSurvey::setMode | ( | int | $a_value | ) |
Definition at line 5585 of file class.ilObjSurvey.php.
ilObjSurvey::setObligatoryStates | ( | array | $obligatory_questions | ) |
Sets the obligatory states for questions in a survey from the questions form.
array | $obligatory_questions | key is question id, value should be bool value |
Definition at line 1882 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::setOutro | ( | string | $outro = "" | ) |
Definition at line 1177 of file class.ilObjSurvey.php.
ilObjSurvey::setPage | ( | int | $finished_id, |
int | $page_id | ||
) |
Sets the number of the active survey page.
int | $finished_id | id of the active user |
int | $page_id | index of the page |
Definition at line 2371 of file class.ilObjSurvey.php.
ilObjSurvey::setPoolUsage | ( | bool | $a_value | ) |
Definition at line 4179 of file class.ilObjSurvey.php.
ilObjSurvey::setReminderEnd | ( | ?ilDate | $a_value = null | ) |
Definition at line 4997 of file class.ilObjSurvey.php.
ilObjSurvey::setReminderFrequency | ( | int | $a_value | ) |
Definition at line 5007 of file class.ilObjSurvey.php.
ilObjSurvey::setReminderLastSent | ( | ?string | $a_value | ) |
Definition at line 5027 of file class.ilObjSurvey.php.
ilObjSurvey::setReminderStart | ( | ?ilDate | $a_value = null | ) |
Definition at line 4987 of file class.ilObjSurvey.php.
ilObjSurvey::setReminderStatus | ( | bool | $a_value | ) |
Definition at line 4977 of file class.ilObjSurvey.php.
ilObjSurvey::setReminderTarget | ( | int | $a_value | ) |
Definition at line 5017 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm().
ilObjSurvey::setReminderTemplate | ( | ?int | $a_value | ) |
Definition at line 5050 of file class.ilObjSurvey.php.
ilObjSurvey::setSelfEvaluationResults | ( | int | $a_value | ) |
Definition at line 5595 of file class.ilObjSurvey.php.
ilObjSurvey::setShowQuestionTitles | ( | bool | $a_show | ) |
Definition at line 1166 of file class.ilObjSurvey.php.
ilObjSurvey::setSkillService | ( | bool | $a_val | ) |
Definition at line 4849 of file class.ilObjSurvey.php.
ilObjSurvey::setStartDate | ( | string | $start_date = "" | ) |
string | $start_date | (YYYYMMDDHHMMSS) |
Definition at line 1191 of file class.ilObjSurvey.php.
ilObjSurvey::setStartDateAndTime | ( | string | $start_date, |
string | $start_time | ||
) |
string | $start_date | (YYYY-MM-DD) |
string | $start_time | (HH:MM:SS) |
Definition at line 1201 of file class.ilObjSurvey.php.
References Vendor\Package\$d.
ilObjSurvey::setSurveyId | ( | int | $survey_id | ) |
Definition at line 4066 of file class.ilObjSurvey.php.
ilObjSurvey::setTutorNotificationRecipients | ( | array | $a_value | ) |
Set tutor recipients for "all participants have finished" mail.
Definition at line 5079 of file class.ilObjSurvey.php.
ilObjSurvey::setTutorNotificationStatus | ( | bool | $a_value | ) |
Activates mail being sent to tutors after all participants have finished the survey.
Definition at line 5063 of file class.ilObjSurvey.php.
ilObjSurvey::setTutorNotificationTarget | ( | int | $a_value | ) |
Definition at line 5095 of file class.ilObjSurvey.php.
ilObjSurvey::setTutorResultsRecipients | ( | array | $a_value | ) |
Definition at line 5115 of file class.ilObjSurvey.php.
ilObjSurvey::setTutorResultsStatus | ( | bool | $a_value | ) |
Definition at line 5105 of file class.ilObjSurvey.php.
ilObjSurvey::setViewOwnResults | ( | bool | $a_value | ) |
Definition at line 5492 of file class.ilObjSurvey.php.
ilObjSurvey::toXML | ( | ) |
Returns a QTI xml representation of the survey.
Definition at line 2928 of file class.ilObjSurvey.php.
References ILIAS\Survey\Mode\getId(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ILIAS\Repository\int().
ilObjSurvey::unfoldQuestionblocks | ( | array | $questionblocks | ) |
int[] | $questionblocks | question block ids |
Definition at line 1510 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::update | ( | $a_upload = false | ) |
Definition at line 228 of file class.ilObjSurvey.php.
References ilObject\updateMetaData().
ilObjSurvey::updateCode | ( | int | $a_id, |
string | $a_email, | ||
string | $a_last_name, | ||
string | $a_first_name, | ||
int | $a_sent | ||
) |
Definition at line 4187 of file class.ilObjSurvey.php.
ilObjSurvey::updateConjunctionForQuestions | ( | array | $questions, |
int | $conjunction | ||
) |
Definition at line 2224 of file class.ilObjSurvey.php.
References $ilDB.
ilObjSurvey::updateConstraint | ( | int | $precondition_id, |
int | $if_question_id, | ||
int | $relation, | ||
float | $value, | ||
int | $conjunction | ||
) |
Definition at line 2205 of file class.ilObjSurvey.php.
ilObjSurvey::updateOrder | ( | array | $a_order | ) |
Definition at line 4165 of file class.ilObjSurvey.php.
|
protected |
Definition at line 69 of file class.ilObjSurvey.php.
|
protected |
Definition at line 106 of file class.ilObjSurvey.php.
|
protected |
Definition at line 67 of file class.ilObjSurvey.php.
|
protected |
Definition at line 105 of file class.ilObjSurvey.php.
|
protected |
Definition at line 104 of file class.ilObjSurvey.php.
|
protected |
Definition at line 133 of file class.ilObjSurvey.php.
int ilObjSurvey::$anonymize = 0 |
Definition at line 93 of file class.ilObjSurvey.php.
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.
|
protected |
Definition at line 71 of file class.ilObjSurvey.php.
|
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.
|
protected |
Definition at line 64 of file class.ilObjSurvey.php.
string ilObjSurvey::$end_date = "" |
Definition at line 89 of file class.ilObjSurvey.php.
string ilObjSurvey::$evaluation_access = self::EVALUATION_ACCESS_OFF |
Definition at line 85 of file class.ilObjSurvey.php.
|
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.
|
protected |
Definition at line 137 of file class.ilObjSurvey.php.
|
protected |
Definition at line 131 of file class.ilObjSurvey.php.
|
protected |
Definition at line 130 of file class.ilObjSurvey.php.
string ilObjSurvey::$mailaddresses = "" |
Definition at line 100 of file class.ilObjSurvey.php.
bool ilObjSurvey::$mailnotification = false |
Definition at line 99 of file class.ilObjSurvey.php.
string ilObjSurvey::$mailparticipantdata = "" |
Definition at line 101 of file class.ilObjSurvey.php.
|
protected |
Definition at line 134 of file class.ilObjSurvey.php.
|
protected |
Definition at line 112 of file class.ilObjSurvey.php.
|
protected |
Definition at line 110 of file class.ilObjSurvey.php.
|
protected |
Definition at line 109 of file class.ilObjSurvey.php.
|
protected |
Definition at line 111 of file class.ilObjSurvey.php.
|
protected |
Definition at line 135 of file class.ilObjSurvey.php.
|
protected |
Definition at line 113 of file class.ilObjSurvey.php.
string ilObjSurvey::$outro = "" |
Definition at line 83 of file class.ilObjSurvey.php.
|
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.
array ilObjSurvey::$questions = [] |
Definition at line 91 of file class.ilObjSurvey.php.
|
protected |
Definition at line 118 of file class.ilObjSurvey.php.
|
protected |
Definition at line 119 of file class.ilObjSurvey.php.
|
protected |
Definition at line 121 of file class.ilObjSurvey.php.
|
protected |
Definition at line 117 of file class.ilObjSurvey.php.
|
protected |
Definition at line 116 of file class.ilObjSurvey.php.
|
protected |
Definition at line 120 of file class.ilObjSurvey.php.
|
protected |
Definition at line 122 of file class.ilObjSurvey.php.
string ilObjSurvey::$start_date = "" |
Definition at line 87 of file class.ilObjSurvey.php.
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.
|
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.
|
protected |
Definition at line 123 of file class.ilObjSurvey.php.
|
protected |
Definition at line 125 of file class.ilObjSurvey.php.
|
protected |
Definition at line 127 of file class.ilObjSurvey.php.
|
protected |
Definition at line 126 of file class.ilObjSurvey.php.
|
protected |
Definition at line 68 of file class.ilObjSurvey.php.
|
protected |
Definition at line 129 of file class.ilObjSurvey.php.
const ilObjSurvey::ANONYMIZE_CODE_ALL = 3 |
Definition at line 35 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\afterSave().
const ilObjSurvey::ANONYMIZE_FREEACCESS = 2 |
Definition at line 34 of file class.ilObjSurvey.php.
const ilObjSurvey::ANONYMIZE_OFF = 0 |
Definition at line 32 of file class.ilObjSurvey.php.
Referenced by __construct().
const ilObjSurvey::ANONYMIZE_ON = 1 |
Definition at line 33 of file class.ilObjSurvey.php.
const ilObjSurvey::EVALUATION_ACCESS_ALL = "1" |
Definition at line 29 of file class.ilObjSurvey.php.
Referenced by ilSurveyEvaluationGUI\evaluation().
const ilObjSurvey::EVALUATION_ACCESS_OFF = "0" |
Definition at line 28 of file class.ilObjSurvey.php.
Referenced by __construct(), and ilSurveyEvaluationGUI\evaluation().
const ilObjSurvey::EVALUATION_ACCESS_PARTICIPANTS = "2" |
Definition at line 30 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\afterSave(), and ilSurveyEvaluationGUI\evaluation().
const ilObjSurvey::MODE_360 = 1 |
Definition at line 46 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\afterSave(), ilSurveyExecutionGUI\backToRepository(), ilObjSurveyListGUI\getProperties(), and ilSurveyExecutionGUI\runShowFinishedPage().
const ilObjSurvey::MODE_IND_FEEDB = 3 |
Definition at line 48 of file class.ilObjSurvey.php.
Referenced by ilObjSurveyGUI\afterSave(), ilSurveyEvaluationGUI\competenceEval(), 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(), ilObjSurveyGUI\afterSave(), ilSurveyEvaluationGUI\evaluationuser(), ILIAS\Survey\Evaluation\EvaluationManager\getFilteredFinishedIds(), ilObjSurveyListGUI\getProperties(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), ilSurveyParticipantsGUI\maintenanceObject(), and ilSurveyEvaluationGUI\sumscore().
const ilObjSurvey::MODE_STANDARD = 0 |
Definition at line 45 of file class.ilObjSurvey.php.
Referenced by __construct(), and ilObjSurveyGUI\getTabs().
const ilObjSurvey::NOTIFICATION_APPRAISEES = 3 |
Definition at line 61 of file class.ilObjSurvey.php.
const ilObjSurvey::NOTIFICATION_APPRAISEES_AND_RATERS = 5 |
Definition at line 63 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Mode\Feedback360\UIModifier\setValuesFromForm(), and ILIAS\Survey\Mode\IndividualFeedback\UIModifier\setValuesFromForm().
const ilObjSurvey::NOTIFICATION_INVITED_USERS = 2 |
Definition at line 60 of file class.ilObjSurvey.php.
const ilObjSurvey::NOTIFICATION_PARENT_COURSE = 1 |
Definition at line 59 of file class.ilObjSurvey.php.
const ilObjSurvey::NOTIFICATION_RATERS = 4 |
Definition at line 62 of file class.ilObjSurvey.php.
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.
Referenced by __construct().
const ilObjSurvey::RESULTS_360_ALL = 2 |
Definition at line 57 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
const ilObjSurvey::RESULTS_360_NONE = 0 |
Definition at line 55 of file class.ilObjSurvey.php.
const ilObjSurvey::RESULTS_360_OWN = 1 |
Definition at line 56 of file class.ilObjSurvey.php.
const ilObjSurvey::RESULTS_SELF_EVAL_ALL = 2 |
Definition at line 53 of file class.ilObjSurvey.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getFilteredFinishedIds(), and ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
const ilObjSurvey::RESULTS_SELF_EVAL_NONE = 0 |
Definition at line 51 of file class.ilObjSurvey.php.
const ilObjSurvey::RESULTS_SELF_EVAL_OWN = 1 |
Definition at line 52 of file class.ilObjSurvey.php.
Referenced by __construct().