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

	$GLOBALS['APPLICATION']->includeComponent(
		'bitrix:catalog.image.input',
		'',
		[
			'FILE_SETTINGS' => $settings,
			'FILE_VALUES' => $values,
			'FILE_SIGNED_VALUES' => $this->getSignedValues(),
			'LOADER_PREVIEW' => (string)($options['preview'] ?? ''),
			'DISABLED' => (bool)($options['disabled'] ?? false),
			'ENABLE_AUTO_SAVING' => $this->autoSavingEnabled,
			'PRODUCT_ENTITY' => $this->entity,
			'INPUT_ID' => 'bx_file_'.$this->getInputId(),
		]
	);

	return ob_get_clean();
}