• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/imageinput.php
  • Класс: BitrixCatalogComponentImageInput
  • Вызов: ImageInput::getSignedValues
private function getSignedValues(): array
{
	$signedValues = [];

	foreach ($this->getValues() as $name => $fileId)
	{
		if ($fileId !== null && is_numeric($fileId))
		{
			static $signer = null;
			if ($signer === null)
			{
				$signer = new Signer;
			}

			$signedValues[$name] = $signer->sign((string)$fileId, self::FILE_ID_SALT);
		}
	}

	return $signedValues;
}