• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard.php
  • Класс: CWizardStep
  • Вызов: CWizardStep::ShowInputField
function ShowInputField($type, $name, $arAttributes = Array())
{
	$strReturn = "";
	$wizard = $this->GetWizard();
	$prefixName = $wizard->GetRealName($name);
	$value = (($v = $wizard->GetVar($name)) <> '' ? $v : $wizard->GetDefaultVar($name));

	$this->SetDisplayVars(Array($name));

	switch ($type)
	{
		case "text":
			if (!isset($arAttributes["size"]))
				$arAttributes["size"] = 10;
			$strReturn .= '_ShowAttributes($arAttributes).' />';
		break;

		case "password":
			if (!isset($arAttributes["size"]))
				$arAttributes["size"] = 10;
			$strReturn .= '_ShowAttributes($arAttributes).' />';
		break;

		case "textarea":
			$strReturn .= '';
		break;
	}

	return $strReturn;
}