• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/entity_query.php
  • Класс: CEntityQuery
  • Вызов: CEntityQuery::addFilter
public function addFilter($key, $value)
{
	if (is_null($key) && is_array($value))
	{
		$this->filter[] = $value;
	}
	else
	{
		$this->filter[$key] = $value;
	}
}