• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/imageinput.php
  • Класс: BitrixCatalogComponentImageInput
  • Вызов: ImageInput::getInputId
private function getInputId(): string
{
	if (!$this->inputId)
	{
		$id = uniqid($this->getInputName().'_', false);
		$this->inputId = strtolower(preg_replace('/[^a-z0-9]/i', '_', $id));
	}

	return $this->inputId;
}