ILIAS
Release_4_1_x_branch Revision 61804
|
Singleton class that stores all privacy settings. More...
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. | |
enableCourseExport ($a_status) | |
enableGroupExport ($a_status) | |
enableForaStatistics ($a_status) | |
write access to property fora statitics | |
enabledForaStatistics () | |
read access to property enable fora statistics | |
enableAnonymousFora ($a_status) | |
write access to property anonymous fora | |
enabledAnonymousFora () | |
read access to property enable anonymous fora | |
enableRbacLog ($a_status) | |
write access to property rbac_log | |
enabledRbacLog () | |
read access to property enable rbac log | |
setRbacLogAge ($a_age) | |
write access to property rbac log age | |
getRbacLogAge () | |
read access to property rbac log age | |
confirmationRequired ($a_type) | |
courseConfirmationRequired () | |
groupConfirmationRequired () | |
setCourseConfirmationRequired ($a_status) | |
setGroupConfirmationRequired ($a_status) | |
showGroupAccessTimes ($a_status) | |
Show group last access times. | |
enabledGroupAccessTimes () | |
check if group access time are visible | |
showCourseAccessTimes ($a_status) | |
show course access times | |
enabledCourseAccessTimes () | |
check if access time are enabled in courses | |
save () | |
Save settings. | |
validate () | |
validate settings |
Static Public Member Functions | |
static | _getInstance () |
Get instance of ilPrivacySettings. |
Private Member Functions | |
__construct () | |
Private constructor: use _getInstance() | |
read () | |
read settings |
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 59 of file class.ilPrivacySettings.php.
References $ilDB, $ilSetting, and read().
|
static |
Get instance of ilPrivacySettings.
Definition at line 76 of file class.ilPrivacySettings.php.
References $instance.
Referenced by ilGroupParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilMemberAgreement\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilMemberAgreementGUI\__construct(), ilRegistrationGUI\__construct(), ilMemberExport\__construct(), ilObjGroupGUI\checkAgreement(), ilObjCourseGUI\checkAgreement(), ilMemberExportGUI\executeCommand(), ilObjCourseGUI\fetchPrintMemberData(), ilRbacLog\garbageCollection(), ilTrObjectUsersPropsTableGUI\getItems(), ilExportUserSettings\getOrderedExportableFields(), ilSoapUserAdministration\getUserForRole(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilGroupParticipantsTableGUI\initAcceptedAgreements(), ilCourseParticipantsTableGUI\initAcceptedAgreements(), ilRbacLog\isActive(), ilObjCourseGUI\printMembersObject(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilObjPrivacySecurityGUI\save_privacy(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjCourseGUI\setSubTabs(), ilObjGroupGUI\setSubTabs(), and ilObjPrivacySecurityGUI\showPrivacy().
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 ilObject\_lookupObjId(), ilObject\_lookupType(), enabledCourseExport(), enabledGroupExport(), and getPrivacySettingsRefId().
ilPrivacySettings::confirmationRequired | ( | $a_type | ) |
Definition at line 204 of file class.ilPrivacySettings.php.
References courseConfirmationRequired(), and groupConfirmationRequired().
ilPrivacySettings::courseConfirmationRequired | ( | ) |
Definition at line 217 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 154 of file class.ilPrivacySettings.php.
ilPrivacySettings::enableCourseExport | ( | $a_status | ) |
Definition at line 122 of file class.ilPrivacySettings.php.
ilPrivacySettings::enabledAnonymousFora | ( | ) |
read access to property enable anonymous fora
Definition at line 163 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 278 of file class.ilPrivacySettings.php.
References $show_crs_access_times.
Referenced by save().
ilPrivacySettings::enabledCourseExport | ( | ) |
Definition at line 90 of file class.ilPrivacySettings.php.
References $export_course.
Referenced by checkExportAccess(), and save().
ilPrivacySettings::enabledForaStatistics | ( | ) |
read access to property enable fora statistics
Definition at line 145 of file class.ilPrivacySettings.php.
References $fora_statistics.
Referenced by save().
ilPrivacySettings::enabledGroupAccessTimes | ( | ) |
check if group access time are visible
public
Definition at line 255 of file class.ilPrivacySettings.php.
References $show_grp_access_times.
Referenced by save().
ilPrivacySettings::enabledGroupExport | ( | ) |
Definition at line 95 of file class.ilPrivacySettings.php.
References $export_group.
Referenced by checkExportAccess(), and save().
ilPrivacySettings::enabledRbacLog | ( | ) |
read access to property enable rbac log
Definition at line 181 of file class.ilPrivacySettings.php.
References $rbac_log.
Referenced by save().
ilPrivacySettings::enableForaStatistics | ( | $a_status | ) |
write access to property fora statitics
bool | $a_status | value to set property |
Definition at line 136 of file class.ilPrivacySettings.php.
ilPrivacySettings::enableGroupExport | ( | $a_status | ) |
Definition at line 127 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 172 of file class.ilPrivacySettings.php.
ilPrivacySettings::getPrivacySettingsRefId | ( | ) |
Definition at line 85 of file class.ilPrivacySettings.php.
References $ref_id.
Referenced by checkExportAccess().
ilPrivacySettings::getRbacLogAge | ( | ) |
read access to property rbac log age
Definition at line 199 of file class.ilPrivacySettings.php.
References $rbac_log_age.
Referenced by save().
ilPrivacySettings::groupConfirmationRequired | ( | ) |
Definition at line 222 of file class.ilPrivacySettings.php.
References $export_confirm_group.
Referenced by confirmationRequired(), and save().
|
private |
read settings
private
Definition at line 308 of file class.ilPrivacySettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by __construct().
ilPrivacySettings::save | ( | ) |
Save settings.
Definition at line 288 of file class.ilPrivacySettings.php.
References courseConfirmationRequired(), enabledAnonymousFora(), enabledCourseAccessTimes(), enabledCourseExport(), enabledForaStatistics(), enabledGroupAccessTimes(), enabledGroupExport(), enabledRbacLog(), getRbacLogAge(), and groupConfirmationRequired().
ilPrivacySettings::setCourseConfirmationRequired | ( | $a_status | ) |
Definition at line 227 of file class.ilPrivacySettings.php.
ilPrivacySettings::setGroupConfirmationRequired | ( | $a_status | ) |
Definition at line 232 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 190 of file class.ilPrivacySettings.php.
ilPrivacySettings::showCourseAccessTimes | ( | $a_status | ) |
show course access times
public
bool | status |
Definition at line 267 of file class.ilPrivacySettings.php.
ilPrivacySettings::showGroupAccessTimes | ( | $a_status | ) |
Show group last access times.
public
Definition at line 244 of file class.ilPrivacySettings.php.
ilPrivacySettings::validate | ( | ) |
validate settings
Definition at line 339 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 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 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().