ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Singleton class that stores all privacy settings. More...
Public Member Functions | |
getPrivacySettingsRefId () | |
enabledCourseExport () | |
enabledGroupExport () | |
enabledLearningSequenceExport () | |
participantsListInCoursesEnabled () | |
enableParticipantsListInCourses ($a_status) | |
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) | |
enableLearningSequenceExport ($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 () | |
learningSequenceConfirmationRequired () | |
setCourseConfirmationRequired ($a_status) | |
setGroupConfirmationRequired ($a_status) | |
setLearningSequenceConfirmationRequired ($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... | |
enabledLearningSequenceAccessTimes () | |
check if access time are enabled in lso More... | |
showLearningSequenceAccessTimes ($a_status) | |
show lso 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()
private
Definition at line 70 of file class.ilPrivacySettings.php.
References $DIC, $ilDB, $ilSetting, read(), and settings().
|
static |
Get instance of ilPrivacySettings.
public
Definition at line 89 of file class.ilPrivacySettings.php.
Referenced by ilSCORMTrackingItemsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilMemberAgreementGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilMemberAgreement\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilRegistrationGUI\__construct(), ilMemberExport\__construct(), ilObjCourse\__readSettings(), ilObjLearningResourcesSettingsGUI\addToExternalSettingsForm(), ilObjPrivacySecurityGUI\addToExternalSettingsForm(), ilObjRoleFolderGUI\addToExternalSettingsForm(), ilObjGroupGUI\checkAgreement(), ilObjCourseGUI\checkAgreement(), ilObjLearningResourcesSettingsGUI\editSettings(), ilMemberExportGUI\executeCommand(), ilObjSCORMLearningModule\exportSelected(), ilRbacLog\garbageCollection(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilMemberExport\getOrderedExportableFields(), ilCourseMembershipGUI\getPrintMemberData(), ilLPTableBaseGUI\getSelectableUserColumns(), ilObjSAHSLearningModuleGUI\getTabs(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilObjCourseGUI\initEditForm(), ilMemberExportSettingsGUI\initForm(), ilParticipantTableGUI\initSettings(), ilObjRoleFolderGUI\initSettingsForm(), ilRbacLog\isActive(), ilMembershipGUI\jump2UsersGallery(), ilObjLearningSequenceGUI\manage_members(), ilObjSCORMLearningModuleGUI\modifyTrackingItems(), ilSCORMTrackingItemsPerUserFilterGUI\parse(), ilSCORM2004TrackingItemsPerUserFilterGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilLearningSequenceRoles\readMemberData(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilObjPrivacySecurityGUI\save_privacy(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjLearningResourcesSettingsGUI\saveSettings(), ilObjRoleFolderGUI\saveSettingsObject(), ilSAHSPresentationGUI\setInfoTabs(), ilMembershipGUI\setSubTabs(), ilObjCourseGUI\setSubTabs(), ilObjGroupGUI\setSubTabs(), ilObjPrivacySecurityGUI\showPrivacy(), ilObjCourseGUI\updateObject(), and ilSCORMTrackingItems\userDataHeaderForExport().
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 139 of file class.ilPrivacySettings.php.
References $DIC, $ilUser, ilObject\_lookupType(), enabledCourseExport(), enabledGroupExport(), enabledLearningSequenceExport(), and getPrivacySettingsRefId().
ilPrivacySettings::confirmationRequired | ( | $a_type | ) |
Definition at line 245 of file class.ilPrivacySettings.php.
References $a_type, courseConfirmationRequired(), groupConfirmationRequired(), and learningSequenceConfirmationRequired().
ilPrivacySettings::courseConfirmationRequired | ( | ) |
Definition at line 260 of file class.ilPrivacySettings.php.
References $export_confirm_course.
Referenced by confirmationRequired(), and save().
ilPrivacySettings::enableAnonymousFora | ( | $a_status | ) |
write access to property anonymous fora
bool | $a_status | value to set property |
Definition at line 195 of file class.ilPrivacySettings.php.
ilPrivacySettings::enableCourseExport | ( | $a_status | ) |
Definition at line 158 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 364 of file class.ilPrivacySettings.php.
References enabledCourseAccessTimes(), and enabledGroupAccessTimes().
ilPrivacySettings::enabledAnonymousFora | ( | ) |
read access to property enable anonymous fora
Definition at line 204 of file class.ilPrivacySettings.php.
References $anonymous_fora.
Referenced by save().
ilPrivacySettings::enabledCourseAccessTimes | ( | ) |
check if access time are enabled in courses
public
Definition at line 354 of file class.ilPrivacySettings.php.
References $show_crs_access_times.
Referenced by enabledAccessTimesByType(), and save().
ilPrivacySettings::enabledCourseExport | ( | ) |
Definition at line 102 of file class.ilPrivacySettings.php.
References $export_course.
Referenced by checkExportAccess(), and save().
ilPrivacySettings::enabledExportSCORM | ( | ) |
Definition at line 456 of file class.ilPrivacySettings.php.
References $export_scorm.
Referenced by save().
ilPrivacySettings::enabledForaStatistics | ( | ) |
read access to property enable fora statistics
Definition at line 186 of file class.ilPrivacySettings.php.
References $fora_statistics.
Referenced by save().
ilPrivacySettings::enabledGroupAccessTimes | ( | ) |
check if group access time are visible
public
Definition at line 308 of file class.ilPrivacySettings.php.
References $show_grp_access_times.
Referenced by enabledAccessTimesByType(), and save().
ilPrivacySettings::enabledGroupExport | ( | ) |
Definition at line 107 of file class.ilPrivacySettings.php.
References $export_group.
Referenced by checkExportAccess(), and save().
ilPrivacySettings::enabledLearningSequenceAccessTimes | ( | ) |
check if access time are enabled in lso
public
Definition at line 331 of file class.ilPrivacySettings.php.
References $show_lso_access_times.
ilPrivacySettings::enabledLearningSequenceExport | ( | ) |
Definition at line 112 of file class.ilPrivacySettings.php.
References $export_learning_sequence.
Referenced by checkExportAccess(), and save().
ilPrivacySettings::enabledRbacLog | ( | ) |
read access to property enable rbac log
Definition at line 222 of file class.ilPrivacySettings.php.
References $rbac_log.
Referenced by save().
ilPrivacySettings::enabledSahsProtocolData | ( | ) |
Definition at line 446 of file class.ilPrivacySettings.php.
References $sahs_protocol_data.
Referenced by save().
ilPrivacySettings::enableExportSCORM | ( | $a_status | ) |
Definition at line 460 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 177 of file class.ilPrivacySettings.php.
ilPrivacySettings::enableGroupExport | ( | $a_status | ) |
Definition at line 163 of file class.ilPrivacySettings.php.
ilPrivacySettings::enableLearningSequenceExport | ( | $a_status | ) |
Definition at line 168 of file class.ilPrivacySettings.php.
ilPrivacySettings::enableParticipantsListInCourses | ( | $a_status | ) |
bool |
Definition at line 128 of file class.ilPrivacySettings.php.
Referenced by read().
ilPrivacySettings::enableRbacLog | ( | $a_status | ) |
write access to property rbac_log
bool | $a_status | value to set property |
Definition at line 213 of file class.ilPrivacySettings.php.
ilPrivacySettings::enableSahsProtocolData | ( | $status | ) |
Definition at line 450 of file class.ilPrivacySettings.php.
ilPrivacySettings::getPrivacySettingsRefId | ( | ) |
Definition at line 97 of file class.ilPrivacySettings.php.
References $ref_id.
Referenced by checkExportAccess().
ilPrivacySettings::getRbacLogAge | ( | ) |
read access to property rbac log age
Definition at line 240 of file class.ilPrivacySettings.php.
References $rbac_log_age.
Referenced by save().
ilPrivacySettings::groupConfirmationRequired | ( | ) |
Definition at line 265 of file class.ilPrivacySettings.php.
References $export_confirm_group.
Referenced by confirmationRequired(), and save().
ilPrivacySettings::learningSequenceConfirmationRequired | ( | ) |
Definition at line 270 of file class.ilPrivacySettings.php.
References $export_confirm_learning_sequence.
Referenced by confirmationRequired(), and save().
ilPrivacySettings::participantsListInCoursesEnabled | ( | ) |
Definition at line 120 of file class.ilPrivacySettings.php.
References $participants_list_course_enabled.
Referenced by save().
|
private |
read settings
private
Definition at line 406 of file class.ilPrivacySettings.php.
References $DIC, $ilDB, $query, $res, $row, enableParticipantsListInCourses(), ilDBConstants\FETCHMODE_ASSOC, and settings().
Referenced by __construct().
ilPrivacySettings::save | ( | ) |
Save settings.
Definition at line 380 of file class.ilPrivacySettings.php.
References courseConfirmationRequired(), enabledAnonymousFora(), enabledCourseAccessTimes(), enabledCourseExport(), enabledExportSCORM(), enabledForaStatistics(), enabledGroupAccessTimes(), enabledGroupExport(), enabledLearningSequenceExport(), enabledRbacLog(), enabledSahsProtocolData(), getRbacLogAge(), groupConfirmationRequired(), learningSequenceConfirmationRequired(), participantsListInCoursesEnabled(), and settings().
ilPrivacySettings::setCourseConfirmationRequired | ( | $a_status | ) |
Definition at line 275 of file class.ilPrivacySettings.php.
ilPrivacySettings::setGroupConfirmationRequired | ( | $a_status | ) |
Definition at line 280 of file class.ilPrivacySettings.php.
ilPrivacySettings::setLearningSequenceConfirmationRequired | ( | $a_status | ) |
Definition at line 285 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 231 of file class.ilPrivacySettings.php.
ilPrivacySettings::showCourseAccessTimes | ( | $a_status | ) |
show course access times
public
bool | status |
Definition at line 320 of file class.ilPrivacySettings.php.
ilPrivacySettings::showGroupAccessTimes | ( | $a_status | ) |
Show group last access times.
public
Definition at line 297 of file class.ilPrivacySettings.php.
ilPrivacySettings::showLearningSequenceAccessTimes | ( | $a_status | ) |
show lso access times
public
bool | status |
Definition at line 343 of file class.ilPrivacySettings.php.
ilPrivacySettings::validate | ( | ) |
validate settings
Definition at line 441 of file class.ilPrivacySettings.php.
|
private |
Definition at line 53 of file class.ilPrivacySettings.php.
Referenced by enabledAnonymousFora().
|
private |
Definition at line 37 of file class.ilPrivacySettings.php.
|
private |
Definition at line 43 of file class.ilPrivacySettings.php.
Referenced by courseConfirmationRequired().
|
private |
Definition at line 44 of file class.ilPrivacySettings.php.
Referenced by groupConfirmationRequired().
|
private |
Definition at line 45 of file class.ilPrivacySettings.php.
Referenced by learningSequenceConfirmationRequired().
|
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 42 of file class.ilPrivacySettings.php.
Referenced by enabledLearningSequenceExport().
|
private |
Definition at line 61 of file class.ilPrivacySettings.php.
Referenced by enabledExportSCORM().
|
private |
Definition at line 52 of file class.ilPrivacySettings.php.
Referenced by enabledForaStatistics().
|
staticprivate |
Definition at line 36 of file class.ilPrivacySettings.php.
|
private |
Definition at line 50 of file class.ilPrivacySettings.php.
Referenced by participantsListInCoursesEnabled().
|
private |
Definition at line 54 of file class.ilPrivacySettings.php.
Referenced by enabledRbacLog().
|
private |
Definition at line 55 of file class.ilPrivacySettings.php.
Referenced by getRbacLogAge().
|
private |
Definition at line 59 of file class.ilPrivacySettings.php.
Referenced by getPrivacySettingsRefId().
|
private |
Definition at line 60 of file class.ilPrivacySettings.php.
Referenced by enabledSahsProtocolData().
|
private |
Definition at line 38 of file class.ilPrivacySettings.php.
|
private |
Definition at line 57 of file class.ilPrivacySettings.php.
Referenced by enabledCourseAccessTimes().
|
private |
Definition at line 56 of file class.ilPrivacySettings.php.
Referenced by enabledGroupAccessTimes().
|
private |
Definition at line 58 of file class.ilPrivacySettings.php.
Referenced by enabledLearningSequenceAccessTimes().