| ILIAS
    release_5-3 Revision v5.3.23-19-g915713cf615
    | 
Singleton class that stores all privacy settings. More...
 Collaboration diagram for ilPrivacySettings:
 Collaboration diagram for ilPrivacySettings:| Public Member Functions | |
| getPrivacySettingsRefId () | |
| enabledCourseExport () | |
| enabledGroupExport () | |
| checkExportAccess ($a_ref_id, $a_user_id=0) | |
| Check if a user has the permission to access approved user profile fields, course related user data and custom user data.  More... | |
| enableCourseExport ($a_status) | |
| enableGroupExport ($a_status) | |
| enableForaStatistics ($a_status) | |
| write access to property fora statitics  More... | |
| enabledForaStatistics () | |
| read access to property enable fora statistics  More... | |
| enableAnonymousFora ($a_status) | |
| write access to property anonymous fora  More... | |
| enabledAnonymousFora () | |
| read access to property enable anonymous fora  More... | |
| enableRbacLog ($a_status) | |
| write access to property rbac_log  More... | |
| enabledRbacLog () | |
| read access to property enable rbac log  More... | |
| setRbacLogAge ($a_age) | |
| write access to property rbac log age  More... | |
| getRbacLogAge () | |
| read access to property rbac log age  More... | |
| confirmationRequired ($a_type) | |
| courseConfirmationRequired () | |
| groupConfirmationRequired () | |
| setCourseConfirmationRequired ($a_status) | |
| setGroupConfirmationRequired ($a_status) | |
| showGroupAccessTimes ($a_status) | |
| Show group last access times.  More... | |
| enabledGroupAccessTimes () | |
| check if group access time are visible  More... | |
| showCourseAccessTimes ($a_status) | |
| show course access times  More... | |
| enabledCourseAccessTimes () | |
| check if access time are enabled in courses  More... | |
| enabledAccessTimesByType ($a_obj_type) | |
| Check if access time are enabled for a specific type.  More... | |
| save () | |
| Save settings.  More... | |
| validate () | |
| validate settings  More... | |
| enabledSahsProtocolData () | |
| enableSahsProtocolData ($status) | |
| enabledExportSCORM () | |
| enableExportSCORM ($a_status) | |
| Static Public Member Functions | |
| static | _getInstance () | 
| Get instance of ilPrivacySettings.  More... | |
| Private Member Functions | |
| __construct () | |
| Private constructor: use _getInstance()  More... | |
| read () | |
| read settings  More... | |
| Static Private Attributes | |
| static | $instance = null | 
Singleton class that stores all privacy settings.
/
Definition at line 34 of file class.ilPrivacySettings.php.
| 
 | private | 
Private constructor: use _getInstance()
@access private
Definition at line 61 of file class.ilPrivacySettings.php.
References $ilDB, $ilSetting, read(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get instance of ilPrivacySettings.
@access public
Definition at line 77 of file class.ilPrivacySettings.php.
References $instance.
Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilRegistrationGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilMemberAgreementGUI\__construct(), ilMemberExport\__construct(), ilMemberAgreement\__construct(), ilObjLearningResourcesSettingsGUI\addToExternalSettingsForm(), ilObjRoleFolderGUI\addToExternalSettingsForm(), ilObjPrivacySecurityGUI\addToExternalSettingsForm(), ilObjCourseGUI\checkAgreement(), ilObjGroupGUI\checkAgreement(), ilObjLearningResourcesSettingsGUI\editSettings(), ilMemberExportGUI\executeCommand(), ilObjSCORMLearningModule\exportSelected(), ilRbacLog\garbageCollection(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilMemberExport\getOrderedExportableFields(), ilCourseMembershipGUI\getPrintMemberData(), ilLPTableBaseGUI\getSelectableUserColumns(), ilObjSAHSLearningModuleGUI\getTabs(), ilSoapUserAdministration\getUserForRole(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilMemberExportSettingsGUI\initForm(), ilParticipantTableGUI\initSettings(), ilObjRoleFolderGUI\initSettingsForm(), ilRbacLog\isActive(), ilObjSCORMLearningModuleGUI\modifyTrackingItems(), ilSCORM2004TrackingItemsPerUserFilterGUI\parse(), ilSCORMTrackingItemsPerUserFilterGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilObjCourseGUI\readMemberData(), ilObjGroupGUI\readMemberData(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilObjPrivacySecurityGUI\save_privacy(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjLearningResourcesSettingsGUI\saveSettings(), ilObjRoleFolderGUI\saveSettingsObject(), ilSAHSPresentationGUI\setInfoTabs(), ilObjCourseGUI\setSubTabs(), ilObjGroupGUI\setSubTabs(), ilMembershipGUI\setSubTabs(), ilObjPrivacySecurityGUI\showPrivacy(), and ilSCORMTrackingItems\userDataHeaderForExport().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::checkExportAccess | ( | $a_ref_id, | |
| $a_user_id = 0 | |||
| ) | 
Check if a user has the permission to access approved user profile fields, course related user data and custom user data.
| object | $a_ref_id | 
Definition at line 106 of file class.ilPrivacySettings.php.
References $ilUser, ilObject\_lookupType(), enabledCourseExport(), enabledGroupExport(), and getPrivacySettingsRefId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPrivacySettings::confirmationRequired | ( | $a_type | ) | 
Definition at line 201 of file class.ilPrivacySettings.php.
References $a_type, courseConfirmationRequired(), and groupConfirmationRequired().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPrivacySettings::courseConfirmationRequired | ( | ) | 
Definition at line 213 of file class.ilPrivacySettings.php.
References $export_confirm_course.
Referenced by confirmationRequired(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enableAnonymousFora | ( | $a_status | ) | 
write access to property anonymous fora
| bool | $a_status | value to set property | 
Definition at line 151 of file class.ilPrivacySettings.php.
| ilPrivacySettings::enableCourseExport | ( | $a_status | ) | 
Definition at line 119 of file class.ilPrivacySettings.php.
| ilPrivacySettings::enabledAccessTimesByType | ( | $a_obj_type | ) | 
Check if access time are enabled for a specific type.
| type | $a_obj_type | 
Definition at line 284 of file class.ilPrivacySettings.php.
References enabledCourseAccessTimes(), and enabledGroupAccessTimes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPrivacySettings::enabledAnonymousFora | ( | ) | 
read access to property enable anonymous fora
Definition at line 160 of file class.ilPrivacySettings.php.
References $anonymous_fora.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledCourseAccessTimes | ( | ) | 
check if access time are enabled in courses
@access public
Definition at line 274 of file class.ilPrivacySettings.php.
References $show_crs_access_times.
Referenced by enabledAccessTimesByType(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledCourseExport | ( | ) | 
Definition at line 90 of file class.ilPrivacySettings.php.
References $export_course.
Referenced by checkExportAccess(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledExportSCORM | ( | ) | 
Definition at line 369 of file class.ilPrivacySettings.php.
References $export_scorm.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledForaStatistics | ( | ) | 
read access to property enable fora statistics
Definition at line 142 of file class.ilPrivacySettings.php.
References $fora_statistics.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledGroupAccessTimes | ( | ) | 
check if group access time are visible
@access public
Definition at line 251 of file class.ilPrivacySettings.php.
References $show_grp_access_times.
Referenced by enabledAccessTimesByType(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledGroupExport | ( | ) | 
Definition at line 95 of file class.ilPrivacySettings.php.
References $export_group.
Referenced by checkExportAccess(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledRbacLog | ( | ) | 
read access to property enable rbac log
Definition at line 178 of file class.ilPrivacySettings.php.
References $rbac_log.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enabledSahsProtocolData | ( | ) | 
Definition at line 359 of file class.ilPrivacySettings.php.
References $sahs_protocol_data.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::enableExportSCORM | ( | $a_status | ) | 
Definition at line 373 of file class.ilPrivacySettings.php.
| ilPrivacySettings::enableForaStatistics | ( | $a_status | ) | 
write access to property fora statitics
| bool | $a_status | value to set property | 
Definition at line 133 of file class.ilPrivacySettings.php.
| ilPrivacySettings::enableGroupExport | ( | $a_status | ) | 
Definition at line 124 of file class.ilPrivacySettings.php.
| ilPrivacySettings::enableRbacLog | ( | $a_status | ) | 
write access to property rbac_log
| bool | $a_status | value to set property | 
Definition at line 169 of file class.ilPrivacySettings.php.
| ilPrivacySettings::enableSahsProtocolData | ( | $status | ) | 
Definition at line 363 of file class.ilPrivacySettings.php.
| ilPrivacySettings::getPrivacySettingsRefId | ( | ) | 
Definition at line 85 of file class.ilPrivacySettings.php.
References $ref_id.
Referenced by checkExportAccess().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::getRbacLogAge | ( | ) | 
read access to property rbac log age
Definition at line 196 of file class.ilPrivacySettings.php.
References $rbac_log_age.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::groupConfirmationRequired | ( | ) | 
Definition at line 218 of file class.ilPrivacySettings.php.
References $export_confirm_group.
Referenced by confirmationRequired(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
read settings
@access private
Definition at line 322 of file class.ilPrivacySettings.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_ASSOC, and settings().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPrivacySettings::save | ( | ) | 
Save settings.
Definition at line 300 of file class.ilPrivacySettings.php.
References courseConfirmationRequired(), enabledAnonymousFora(), enabledCourseAccessTimes(), enabledCourseExport(), enabledExportSCORM(), enabledForaStatistics(), enabledGroupAccessTimes(), enabledGroupExport(), enabledRbacLog(), enabledSahsProtocolData(), getRbacLogAge(), groupConfirmationRequired(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPrivacySettings::setCourseConfirmationRequired | ( | $a_status | ) | 
Definition at line 223 of file class.ilPrivacySettings.php.
| ilPrivacySettings::setGroupConfirmationRequired | ( | $a_status | ) | 
Definition at line 228 of file class.ilPrivacySettings.php.
| ilPrivacySettings::setRbacLogAge | ( | $a_age | ) | 
write access to property rbac log age
| int | $a_age | value to set property | 
Definition at line 187 of file class.ilPrivacySettings.php.
| ilPrivacySettings::showCourseAccessTimes | ( | $a_status | ) | 
show course access times
@access public
| bool | status | 
Definition at line 263 of file class.ilPrivacySettings.php.
| ilPrivacySettings::showGroupAccessTimes | ( | $a_status | ) | 
Show group last access times.
@access public
Definition at line 240 of file class.ilPrivacySettings.php.
| ilPrivacySettings::validate | ( | ) | 
validate settings
Definition at line 354 of file class.ilPrivacySettings.php.
| 
 | private | 
Definition at line 45 of file class.ilPrivacySettings.php.
Referenced by enabledAnonymousFora().
| 
 | private | 
Definition at line 37 of file class.ilPrivacySettings.php.
| 
 | private | 
Definition at line 42 of file class.ilPrivacySettings.php.
Referenced by courseConfirmationRequired().
| 
 | private | 
Definition at line 43 of file class.ilPrivacySettings.php.
Referenced by groupConfirmationRequired().
| 
 | private | 
Definition at line 40 of file class.ilPrivacySettings.php.
Referenced by enabledCourseExport().
| 
 | private | 
Definition at line 41 of file class.ilPrivacySettings.php.
Referenced by enabledGroupExport().
| 
 | private | 
Definition at line 52 of file class.ilPrivacySettings.php.
Referenced by enabledExportSCORM().
| 
 | private | 
Definition at line 44 of file class.ilPrivacySettings.php.
Referenced by enabledForaStatistics().
| 
 | staticprivate | 
Definition at line 36 of file class.ilPrivacySettings.php.
Referenced by _getInstance().
| 
 | private | 
Definition at line 46 of file class.ilPrivacySettings.php.
Referenced by enabledRbacLog().
| 
 | private | 
Definition at line 47 of file class.ilPrivacySettings.php.
Referenced by getRbacLogAge().
| 
 | private | 
Definition at line 50 of file class.ilPrivacySettings.php.
Referenced by getPrivacySettingsRefId().
| 
 | private | 
Definition at line 51 of file class.ilPrivacySettings.php.
Referenced by enabledSahsProtocolData().
| 
 | private | 
Definition at line 38 of file class.ilPrivacySettings.php.
| 
 | private | 
Definition at line 49 of file class.ilPrivacySettings.php.
Referenced by enabledCourseAccessTimes().
| 
 | private | 
Definition at line 48 of file class.ilPrivacySettings.php.
Referenced by enabledGroupAccessTimes().