• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/internals/input.php
  • Класс: BitrixSaleInternalsInputDate
  • Вызов: Date::getEditHtmlSingle
static function getEditHtmlSingle($name, array $input, $value)
{
	$showTime = $input['TIME'] == 'Y';

	// TODO HTML5 input="date|datetime|datetime-local" & min & max & step(date:integer|datetime..:float)

	$textAttributes = static::extractAttributes($input,
		array('DISABLED'=>'', 'AUTOCOMPLETE'=>'on', 'AUTOFOCUS'=>'', 'READONLY'=>'',  'REQUIRED'=>''),
		array('FORM'=>1, 'LIST'=>1));

	$buttonAttributes = static::extractAttributes($input, array('DISABLED'=>''), array(), false);

	return ''
		.'';
}