• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard.php
  • Класс: CWizardBase
  • Вызов: CWizardBase::__construct
public function __construct($wizardName, $package)
{
	$this->wizardName = $wizardName;
	$this->package = $package;

	$this->wizardSteps = Array();

	$this->currentStepID = null;
	$this->firstStepID = null;

	$this->nextButtonID = "StepNext";
	$this->prevButtonID = "StepPrevious";
	$this->finishButtonID = "StepFinish";
	$this->cancelButtonID = "StepCancel";

	$this->nextStepHiddenID = "NextStepID";
	$this->prevStepHiddenID = "PreviousStepID";
	$this->finishStepHiddenID = "FinishStepID";
	$this->cancelStepHiddenID = "CancelStepID";
	$this->currentStepHiddenID = "CurrentStepID";

	$this->variablePrefix = "__wiz_";
	$this->formName = "__wizard_form";
	$this->formActionScript = "/".ltrim($_SERVER["REQUEST_URI"], "/");

	$this->returnOutput = false;
	$this->defaultVars = Array();

	$this->arTemplates = Array();
	$this->defaultTemplate = null;
	$this->useAdminTemplate = true;
}