• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/settings/leadsettings.php
  • Класс: Bitrix\Crm\Settings\LeadSettings
  • Вызов: LeadSettings::getCurrentListViewID
public function getCurrentListViewID()
{
	if($this->entityListView === null)
	{
		$this->entityListView = new EntityViewSettings();
	}

	$viewID = $this->entityListView->getViewID(\CCrmOwnerType::Lead);
	if($viewID === EntityViewSettings::UNDEFINED)
	{
		$viewID = $this->getDefaultListViewID();
	}
	return $viewID;
}