ResponsibleFilter::apply

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ResponsibleFilter
  4. apply
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/counter/counterquerybuilder/queryparts/responsiblefilter.php
  • Класс: Bitrix\Crm\Counter\CounterQueryBuilder\QueryParts\ResponsibleFilter
  • Вызов: ResponsibleFilter::apply
public function apply($query, UserParams $userParams, string $responsibleFieldName): void
{
	if (empty($userParams->userIds()))
	{
		return;
	}

	$query->where($this->prepareConditions($userParams, $responsibleFieldName));
}

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