GridFilter::handleEntitySelectorFilterRow

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. GridFilter
  4. handleEntitySelectorFilterRow
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/project/filter/gridfilter.php
  • Класс: BitrixTasksInternalsProjectFilterGridFilter
  • Вызов: GridFilter::handleEntitySelectorFilterRow
private function handleEntitySelectorFilterRow($id, $filterData, Query $query): Query
{
	if (!array_key_exists($id, $filterData) || empty($filterData[$id]))
	{
		return $query;
	}

	if ($id === 'OWNER_ID')
	{
		$query = $this->processFilterOwner($query, $filterData[$id]);
	}
	elseif ($id === 'MEMBER_ID')
	{
		$query = $this->processFilterMember($query, $filterData[$id]);
	}

	return $query;
}

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