Class ilBuddySystem.
More...
◆ __construct()
ilBuddySystem::__construct |
( |
| ) |
|
|
protected |
◆ getInstance()
static ilBuddySystem::getInstance |
( |
| ) |
|
|
static |
- Returns
- self
Definition at line 44 of file class.ilBuddySystem.php.
Referenced by ilRepositoryUserResultTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilUsersGalleryGUI\addActionSection(), ilContactGUI\applyContactsTableFilter(), ilContactGUI\changeContactsView(), ilContactUserActionProvider\collectActionsForTargetUser(), ilMailingListsGUI\executeCommand(), ilContactGUI\executeCommand(), ilMailSearchGroupsGUI\executeCommand(), ilMailSearchCoursesGUI\executeCommand(), ilPersonalDesktopGUI\executeCommand(), ilMailSearchCoursesMembersTableGUI\fillRow(), ilBuddySystemLinkButton\getHtml(), ilAwarenessUserProviderContactRequests\getInitialUserSet(), ilAwarenessUserProviderApprovedContacts\getInitialUserSet(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilMainMenuGUI\populateWithBuddySystem(), ilMainMenuGUI\renderDropDown(), ilMainMenuGUI\renderEntry(), ilContactGUI\resetContactsTableFilter(), ilObjContactAdministrationGUI\saveConfigurationForm(), ilPersonalSettingsGUI\saveGeneralSettings(), ilObjContactAdministrationGUI\showConfigurationForm(), ilContactGUI\showContacts(), ilMailSearchGroupsGUI\showMembers(), ilMailSearchCoursesGUI\showMembers(), and ilContactGUI\showSubTabs().
46 if (!(self::$instance instanceof
self)) {
47 self::$instance =
new self();
50 return self::$instance;
◆ getSetting()
ilBuddySystem::getSetting |
( |
|
$keyword, |
|
|
|
$default = false |
|
) |
| |
◆ isEnabled()
ilBuddySystem::isEnabled |
( |
| ) |
|
- Returns
- bool
Definition at line 75 of file class.ilBuddySystem.php.
References settings(), and user().
77 if (self::$is_enabled !== null) {
78 return self::$is_enabled;
81 if ($this->
user->isAnonymous()) {
82 self::$is_enabled =
false;
86 self::$is_enabled = $this->
settings->get(
'enabled',
false);
87 return self::$is_enabled;
◆ setSetting()
ilBuddySystem::setSetting |
( |
|
$keyword, |
|
|
|
$value |
|
) |
| |
◆ $instance
◆ $is_enabled
ilBuddySystem::$is_enabled |
|
staticprotected |
◆ $settings
◆ $user
The documentation for this class was generated from the following file: