• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/imageinput.php
  • Класс: BitrixCatalogComponentImageInput
  • Вызов: ImageInput::getComponentResponse
public function getComponentResponse(): ?ResponseComponent
{
	return new ResponseComponent(
		'bitrix:catalog.image.input',
		'',
		[
			'FILE_SETTINGS' => $this->getImageParams(),
			'FILE_VALUES' => $this->getValues(),
			'FILE_SIGNED_VALUES' => $this->getSignedValues(),
			'LOADER_PREVIEW' => $this->getPreview(),
			'ENABLE_AUTO_SAVING' => $this->autoSavingEnabled,
			'PRODUCT_ENTITY' => $this->entity,
			'INPUT_ID' => 'bx_file_'.$this->getInputId(),
		]
	);
}