ExternalTracker::getTypes

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ExternalTracker
  4. getTypes
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/channel/externaltracker.php
  • Класс: Bitrix\Crm\Integration\Channel\ExternalTracker
  • Вызов: ExternalTracker::getTypes
public function getTypes()
{
	if($this->types !== null)
	{
		return $this->types;
	}
	else
	{
		foreach(CCrmExternalChannelActivityType::getAllDescriptions() as $id=>$name)
		{
			$this->types[CCrmExternalChannelActivityType::resolveName($id)] = $name;
		}
		return $this->types;
	}
}

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