• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/integrations/report/handlers/base.php
  • Класс: BitrixImOpenLinesIntegrationsReportHandlersBase
  • Вызов: Base::getChanelOptions
protected function getChanelOptions($openLineId = 1)
{
	$result = array();
	if (Loader::includeModule('imconnector'))
	{
		$channels = Connector::getListActiveConnector(false, true);
		foreach ($channels as $channelKey => $label)
		{
			$result[$channelKey] = $label;
			//TODO show channel which exist in selected open line
			//			$isChannelActive = Status::getInstance($channelKey)->isStatus();
			//			if ($isChannelActive)
			//			{
			//
			//			}
		}
	}


	return $result;
}