• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/iblock.php
  • Класс: CAllIBlock
  • Вызов: CAllIBlock::isPublicSidePanel
static function isPublicSidePanel()
{
	$iframe = $_REQUEST["IFRAME"] ?? null;
	$iframeType = $_REQUEST["IFRAME_TYPE"] ?? null;
	$publicSidePanel = $_REQUEST["publicSidePanel"] ?? null;

	return
		$iframe === "Y"
		&& ($publicSidePanel === "Y" || $iframeType === "PUBLIC_FRAME")
	;
}