ImOpenLineChannelInfo::__construct

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ImOpenLineChannelInfo
  4. __construct
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/channel/imopenlinechannelinfo.php
  • Класс: Bitrix\Crm\Integration\Channel\ImOpenLineChannelInfo
  • Вызов: ImOpenLineChannelInfo::__construct
public function __construct($caption, $lineID, $connectorID, $sort = 1000, $groupID = '')
{
	if(!is_numeric($lineID) && $lineID <= 0)
	{
		$lineID = 0;
	}
	$this->lineID = (int)$lineID;
	$this->connectorID = (string)$connectorID;

	parent::__construct(
		IMOpenLineTracker::getInstance(),
		ChannelType::IMOPENLINE,
		$caption,
		(string)$this->lineID,
		$this->connectorID,
		$sort,
		$groupID
	);
}

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