Метод isStrictDialogId

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

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

Путь к исходному файлу строки 47–52
~/bitrix/modulesim/lib/V2/Pull/Event/ApplicationOpenChat.php

Исходный код

PHP
private

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

private function isStrictDialogId(): bool

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

Описание

Accepts the same dialog ids as Common::isDialogId(), but anchored to the very end of the string: the pattern in Common has no D modifier, so it also accepts a trailing newline. The explicit '0' check keeps the rest of that parity - Common drops a falsy id before matching the pattern.