Метод currentSessionBelongsToAnotherContour

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

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

Путь к исходному файлу строки 570–581
~/bitrix/modulesim/lib/V2/Guest/GuestService.php

Исходный код

PHP
public

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

public function currentSessionBelongsToAnotherContour(): bool

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

Описание

Whether the session of the current request belongs to a contour of its own: neither our guest nor a user of this portal. Public because the guest page refuses such a visitor itself {@see Controller\Page::viewAction} instead of routing them through the portal root.