ChannelTrackerManager::getInfos

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ChannelTrackerManager
  4. getInfos
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/channel/channeltrackermanager.php
  • Класс: Bitrix\Crm\Integration\Channel\ChannelTrackerManager
  • Вызов: ChannelTrackerManager::getInfos
static function getInfos()
{
	if(self::$infos === null)
	{
		self::$infos = array();
		foreach(self::getAllTrackers() as $tracker)
		{
			self::$infos = array_merge(self::$infos, $tracker->prepareChannelInfos());
		}
		@usort(self::$infos, array('\Bitrix\Crm\Integration\Channel\ChannelInfo', 'compareBySort'));
	}
	return self::$infos;
}

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