• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/widget/filter.php
  • Класс: Bitrix\Crm\Widget\Filter
  • Вызов: Filter::setPeriodTypeID
public function setPeriodTypeID($periodTypeID)
{
	if($periodTypeID !== FilterPeriodType::UNDEFINED && !FilterPeriodType::isDefined($periodTypeID))
	{
		throw new Main\ArgumentException("Period type '{$periodTypeID}' is unknown in current context.", 'periodTypeID');
	}

	$this->periodTypeID = $periodTypeID;
}