3namespace Bitrix\Calendar\Integration\SocialNetwork;
6use Bitrix\Socialnetwork\Internals\Registry\UserRegistry;
10 private static ?
self $instance;
14 self::$instance ??=
new self();
16 return self::$instance;
26 if (!$this->isAvailable())
34 private function isAvailable(): bool
36 return Loader::includeModule(
'socialnetwork');
39 private function __construct()
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
getUserGroups(int $userId)
static getInstance(int $userId)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)