GridFilter::handleListFilterRow

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

	if ($id === 'CLOSED')
	{
		$query = $this->processFilterIsClosed($query, $filterData[$id]);
	}
	else if ($id === 'IS_PROJECT')
	{
		$query = $this->processFilterIsProject($query, $filterData[$id]);
	}
	else if ($id === 'TYPE')
	{
		$query = $this->processFilterType($query, $filterData[$id]);
	}
	elseif ($id === 'COUNTERS')
	{
		$query = $this->processFilterCounters($query, $filterData[$id]);
	}

	return $query;
}

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