• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/property.php
  • Класс: BitrixSaleControllerProperty
  • Вызов: Property::modifyInputSettingsByType
protected function modifyInputSettingsByType(&$propertySettings)
{
	if ($this->property['MULTIPLE'] === 'Y')
	{
		$propertySettings['IS_FILTERED']['DISABLED'] = 'Y';
	}

	if ($this->property['TYPE'] === 'STRING')
	{
		$propertySettings += $this->getStringSettings();
	}
	elseif ($this->property['TYPE'] === 'LOCATION')
	{
		$propertySettings += $this->getLocationSettings();

		if ($this->property['IS_LOCATION'] !== 'Y' || $this->property['MULTIPLE'] === 'Y')
		{
			unset($propertySettings['INPUT_FIELD_LOCATION']);
		}
	}
	elseif ($this->property['TYPE'] === 'ADDRESS')
	{
		$propertySettings += $this->getAddressSettings();
	}
}