• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/composite/helper.php
  • Класс: BitrixMainCompositeshares
  • Вызов: shares::getRealPrivateKey
static function getRealPrivateKey($privateKey = null, $postfix = null)
{
	if (self::isSpaMode())
	{
		$postfix = $postfix === null ? self::getSpaPostfixByUri($_SERVER["REQUEST_URI"]) : $postfix;
		if ($postfix !== null)
		{
			$privateKey .= $postfix;
		}
	}

	return $privateKey;
}