FormCounterTable::getByFormId

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. FormCounterTable
  4. getByFormId
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/webform/internals/formcounter.php
  • Класс: Bitrix\Crm\WebForm\Internals\FormCounterTable
  • Вызов: FormCounterTable::getByFormId
static function getByFormId($formId)
{
	$counterId = static::getCurrentFormCounter($formId);
	$counters = static::getRowById($counterId);

	unset($counters['ID']);
	unset($counters['FORM_ID']);

	return $counters;
}

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