Bitrix24Manager::hasPurchasedDiskSpace

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Bitrix24Manager
  4. hasPurchasedDiskSpace
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/bitrix24manager.php
  • Класс: Bitrix\Crm\Integration\Bitrix24Manager
  • Вызов: Bitrix24Manager::hasPurchasedDiskSpace
static function hasPurchasedDiskSpace()
{
	if(self::$hasPurchasedDiskSpace !== null)
	{
		return self::$hasPurchasedDiskSpace;
	}

	if(!(ModuleManager::isModuleInstalled('bitrix24')
		&& Loader::includeModule('bitrix24'))
		&& method_exists('CBitrix24', 'IsExtraDiskSpace'))
	{
		return (self::$hasPurchasedDiskSpace = false);
	}

	return (self::$hasPurchasedDiskSpace = \CBitrix24::IsExtraDiskSpace());
}

Добавить комментарий