• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard_site.php
  • Класс: CWizard
  • Вызов: CWizard::__SetStepDescription
function __SetStepDescription($obStep, $stepName)
{
	if (!array_key_exists("STEPS_SETTINGS", $this->arDescription) || !array_key_exists($stepName, $this->arDescription["STEPS_SETTINGS"]))
		return;

	if (isset($this->arDescription["STEPS_SETTINGS"][$stepName]["TITLE"]))
		$obStep->SetTitle($this->arDescription["STEPS_SETTINGS"][$stepName]["TITLE"]);

	if (isset($this->arDescription["STEPS_SETTINGS"][$stepName]["SUBTITLE"]))
		$obStep->SetSubTitle($this->arDescription["STEPS_SETTINGS"][$stepName]["SUBTITLE"]);

	if (isset($this->arDescription["STEPS_SETTINGS"][$stepName]["CONTENT"]))
		$obStep->content .= $this->arDescription["STEPS_SETTINGS"][$stepName]["CONTENT"];
}