• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/internals/countercalculation.php
  • Класс: Bitrix\Sender\Internals\CounterCalculation
  • Вызов: CounterCalculation::getCompletedPercent
static function getCompletedPercent()
{
	$currentValue = Option::get('sender', self::$optionName, '');
	if($currentValue === '')
	{
		$currentValue = count(self::$stages);
	}
	$currentValue = intval($currentValue);

	return array('CURRENT' => $currentValue, 'ALL' => count(self::$stages));
}