• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/runtimeprovider/base.php
  • Класс: BitrixReportVisualConstructorRuntimeProviderBase
  • Вызов: Base::addFilter
public function addFilter($key, $value)
{
	if ($this->isAvailableFilter($key))
	{
		$this->filters[$key][] = $this->normaliseFilterValue($value);
		return true;
	}
	else
	{
		$this->errors[] = new Error('Filter with key:' . $key . ' not available for this provider');
		return false;
	}
}