...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/integration/channel/imopenlinetracker.php
- Класс: Bitrix\Crm\Integration\Channel\IMOpenLineTracker
- Вызов: IMOpenLineTracker::prepareChannelInfos
public function prepareChannelInfos() { if(!$this->isEnabled()) { return array(); } $sort = 1; $results = array(); $items = $this->getItems(); foreach($items as $item) { $groupID = "IMOPENLINE_{$item['ID']}"; foreach($this->getConnectorInfos() as $connectorID => $connectorInfo) { $connectorName = $connectorInfo['NAME']; $results[] = new ImOpenLineChannelInfo( $connectorName, (int)$item['ID'], $connectorID, $sort, $groupID ); $sort++; } } return $results; }