Task::getForwardedFilter

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Task
  4. getForwardedFilter
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/runtime/task.php
  • Класс: BitrixTasksInternalsRunTimeTask
  • Вызов: Task::getForwardedFilter
static function getForwardedFilter($filter, $parameters)
{
	$forwardedFields = static::getForwardedFields();

	if(is_array($filter) && !empty($filter))
	{
		$filter = HelperCommon::parseFilter($filter);
		$result = array();
		foreach($filter as $info)
		{
			if($forwardedFields[$info['FIELD']])
			{
				// todo: we need translations date into DateTime here
				$result[$info['ORIG_KEY']] = $info['VALUE'];
			}
		}

		return $result;
	}

	return array();
}

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