ILIAS
Release_4_0_x_branch Revision 61816
|
Singleton class that stores all privacy settings. More...
Public Member Functions | |
_getInstance () | |
Get instance of ilPrivacySettings. | |
getPrivacySettingsRefId () | |
enabledExport () | |
enableExport ($a_status) | |
enableForaStatistics ($a_status) | |
write access to property fora statitics | |
enabledForaStatistics () | |
read access to property enable fora statistics | |
disableAnonymousFora ($a_status) | |
write access to property anonymous fora | |
disabledAnonymousFora () | |
read access to property enable anonymous fora | |
confirmationRequired () | |
setConfirmationRequired ($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 |
Private Member Functions | |
__construct () | |
Private constructor: use _getInstance() | |
read () | |
read settings |
Private Attributes | |
$db | |
$settings | |
$export_course | |
$export_confirm | |
$fora_statistics | |
$anonymous_fora | |
$show_grp_access_times | |
$show_crs_access_times | |
$ref_id |
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 55 of file class.ilPrivacySettings.php.
References $ilDB, $ilSetting, and read().
ilPrivacySettings::_getInstance | ( | ) |
Get instance of ilPrivacySettings.
public
Definition at line 71 of file class.ilPrivacySettings.php.
References $instance.
Referenced by ilGroupEditParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilCourseRegistrationGUI\__construct(), ilCourseAgreement\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseAgreementGUI\__construct(), ilMemberExport\__construct(), ilObjCourseGUI\checkAgreement(), ilMemberExportGUI\executeCommand(), ilObjCourseGUI\fetchPrintMemberData(), ilCourseRegistrationGUI\fillAgreement(), ilExportUserSettings\getOrderedExportableFields(), ilSoapUserAdministration\getUserForRole(), ilObjCourseGUI\infoScreen(), ilObjCourseGUI\printMembersObject(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilObjPrivacySecurityGUI\save_privacy(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjCourseGUI\setSubTabs(), ilObjPrivacySecurityGUI\showPrivacy(), and ilObjUserFolderGUI\updateFieldsObject().
ilPrivacySettings::confirmationRequired | ( | ) |
Definition at line 131 of file class.ilPrivacySettings.php.
References $export_confirm.
Referenced by save().
ilPrivacySettings::disableAnonymousFora | ( | $a_status | ) |
write access to property anonymous fora
bool | $a_status | value to set property |
Definition at line 117 of file class.ilPrivacySettings.php.
ilPrivacySettings::disabledAnonymousFora | ( | ) |
read access to property enable anonymous fora
Definition at line 126 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 182 of file class.ilPrivacySettings.php.
References $show_crs_access_times.
Referenced by save().
ilPrivacySettings::enabledExport | ( | ) |
Definition at line 85 of file class.ilPrivacySettings.php.
References $export_course.
Referenced by save().
ilPrivacySettings::enabledForaStatistics | ( | ) |
read access to property enable fora statistics
Definition at line 108 of file class.ilPrivacySettings.php.
References $fora_statistics.
Referenced by save().
ilPrivacySettings::enabledGroupAccessTimes | ( | ) |
check if group access time are visible
public
Definition at line 159 of file class.ilPrivacySettings.php.
References $show_grp_access_times.
Referenced by save().
ilPrivacySettings::enableExport | ( | $a_status | ) |
Definition at line 89 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 99 of file class.ilPrivacySettings.php.
ilPrivacySettings::getPrivacySettingsRefId | ( | ) |
Definition at line 80 of file class.ilPrivacySettings.php.
References $ref_id.
|
private |
read settings
private
Definition at line 208 of file class.ilPrivacySettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by __construct().
ilPrivacySettings::save | ( | ) |
Save settings.
Definition at line 192 of file class.ilPrivacySettings.php.
References confirmationRequired(), disabledAnonymousFora(), enabledCourseAccessTimes(), enabledExport(), enabledForaStatistics(), and enabledGroupAccessTimes().
ilPrivacySettings::setConfirmationRequired | ( | $a_status | ) |
Definition at line 136 of file class.ilPrivacySettings.php.
ilPrivacySettings::showCourseAccessTimes | ( | $a_status | ) |
show course access times
public
bool | status |
Definition at line 171 of file class.ilPrivacySettings.php.
ilPrivacySettings::showGroupAccessTimes | ( | $a_status | ) |
Show group last access times.
public
Definition at line 148 of file class.ilPrivacySettings.php.
ilPrivacySettings::validate | ( | ) |
validate settings
Definition at line 235 of file class.ilPrivacySettings.php.
|
private |
Definition at line 43 of file class.ilPrivacySettings.php.
Referenced by disabledAnonymousFora().
|
private |
Definition at line 37 of file class.ilPrivacySettings.php.
|
private |
Definition at line 41 of file class.ilPrivacySettings.php.
Referenced by confirmationRequired().
|
private |
Definition at line 40 of file class.ilPrivacySettings.php.
Referenced by enabledExport().
|
private |
Definition at line 42 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 getPrivacySettingsRefId().
|
private |
Definition at line 38 of file class.ilPrivacySettings.php.
|
private |
Definition at line 45 of file class.ilPrivacySettings.php.
Referenced by enabledCourseAccessTimes().
|
private |
Definition at line 44 of file class.ilPrivacySettings.php.
Referenced by enabledGroupAccessTimes().