Метод getLiveChatTitle

protected static

Сигнатура метода

protected static function getLiveChatTitle(int $lineId): string

Возвращает: string

Описание

Returns the actual open line name to use as the live chat button title. Reads LINE_NAME only and is independent of the pull queue, so the logic stays unit-testable. Returns raw (unescaped) name; output escaping is the consumer's responsibility.

Параметры

1
Имя Тип По умолчанию Флаги
$lineId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/sitebutton/channel/channelopenline.php
Расположение метода в файле
Строки 431–445

Исходный код

PHP