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(), ilContactGUI\applyContactsTableFilter(), ilContactGUI\changeContactsView(), ilContactUserActionProvider\collectActionsForTargetUser(), ilPersonalDesktopGUI\executeCommand(), ilContactGUI\executeCommand(), ilMailSearchGroupsGUI\executeCommand(), ilMailSearchCoursesGUI\executeCommand(), ilMailSearchCoursesMembersTableGUI\fillRow(), ilBuddySystemLinkButton\getHtml(), ilAwarenessUserProviderContactRequests\getInitialUserSet(), ilAwarenessUserProviderApprovedContacts\getInitialUserSet(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilMainMenuGUI\populateWithBuddySystem(), ilMainMenuGUI\renderDropDown(), ilMainMenuGUI\renderEntry(), ilUsersGalleryGUI\renderLinkButton(), ilContactGUI\resetContactsTableFilter(), ilObjContactAdministrationGUI\saveConfigurationForm(), ilPersonalSettingsGUI\saveGeneralSettings(), ilObjContactAdministrationGUI\showConfigurationForm(), ilContactGUI\showContacts(), ilMailSearchGroupsGUI\showMembers(), ilMailSearchCoursesGUI\showMembers(), and ilContactGUI\showSubTabs().
46 if(!(self::$instance instanceof
self))
48 self::$instance =
new self();
51 return self::$instance;
◆ getSetting()
ilBuddySystem::getSetting |
( |
|
$keyword, |
|
|
|
$default = false |
|
) |
| |
◆ isEnabled()
ilBuddySystem::isEnabled |
( |
| ) |
|
- Returns
- bool
Definition at line 76 of file class.ilBuddySystem.php.
References settings(), and user().
78 if(self::$is_enabled !== null)
80 return self::$is_enabled;
83 if($this->
user->isAnonymous())
85 self::$is_enabled =
false;
89 self::$is_enabled = $this->
settings->get(
'enabled',
false);
90 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: