• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/volume/cleaner.php
  • Класс: Bitrix\Crm\Volume\Cleaner
  • Вызов: Cleaner::getDroppedCount
public function getDroppedCount($subTask): int
{
	$cnt = 0;
	if ($subTask == '' || $subTask == self::DROP_ENTITY)
	{
		$cnt += $this->droppedEntityCount;
	}
	if ($subTask == '' || $subTask == self::DROP_FILE)
	{
		$cnt += $this->droppedFileCount;
	}
	if ($subTask == '' || $subTask == self::DROP_EVENT)
	{
		$cnt += $this->droppedEventCount;
	}
	if ($subTask == '' || $subTask == self::DROP_ACTIVITY)
	{
		$cnt += $this->droppedActivityCount;
	}

	return $cnt;
}