• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/lib/properties/client.php
  • Класс: BitrixSocialservicesPropertiesClient
  • Вызов: Client::getAccessSettings
protected function getAccessSettings()
{
	$accessSettings = Option::get('sale', static::SERVICE_ACCESS_OPTION);

	if($accessSettings != '')
	{
		return unserialize($accessSettings, ["allowed_classes" => false]);
	}
	else
	{
		if($accessSettings = $this->register())
		{
			$this->setAccessSettings($accessSettings);
			return $accessSettings;
		}
		else
		{
			return false;
		}
	}
}