a:34:{s:9:"#provides";s:19:"dojox.widget.Wizard";s:9:"#resource";s:16:"widget/Wizard.js";s:9:"#requires";a:4:{i:0;a:3:{i:0;s:6:"common";i:1;s:27:"dijit.layout.StackContainer";i:2;s:5:"dijit";}i:1;a:3:{i:0;s:6:"common";i:1;s:24:"dijit.layout.ContentPane";i:2;s:5:"dijit";}i:2;a:3:{i:0;s:6:"common";i:1;s:17:"dijit.form.Button";i:2;s:5:"dijit";}i:3;a:3:{i:0;s:6:"common";i:1;s:9:"dojo.i18n";i:2;s:4:"dojo";}}s:19:"dojox.widget.Wizard";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:27:"dijit.layout.StackContainer";}s:4:"call";a:2:{i:0;s:27:"dijit.layout.StackContainer";i:1;s:16:"dijit._Templated";}}s:6:"mixins";a:1:{s:9:"prototype";a:1:{i:0;s:26:"dijit._Templated.prototype";}}s:7:"summary";s:102:"A set of panels that display sequentially, typically notating a step-by-step procedure like an install";s:9:"classlike";b:1;}s:37:"dojox.widget.Wizard.widgetsInTemplate";a:2:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:7:"summary";s:0:"";}s:32:"dojox.widget.Wizard.templatePath";a:2:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:7:"summary";s:0:"";}s:35:"dojox.widget.Wizard.nextButtonLabel";a:3:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:6:"String";s:7:"summary";s:47:"Label override for the "Next" button.";}s:39:"dojox.widget.Wizard.previousButtonLabel";a:3:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:6:"String";s:7:"summary";s:51:"Label override for the "Previous" button.";}s:37:"dojox.widget.Wizard.cancelButtonLabel";a:3:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:6:"String";s:7:"summary";s:49:"Label override for the "Cancel" button.";}s:35:"dojox.widget.Wizard.doneButtonLabel";a:3:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:6:"String";s:7:"summary";s:47:"Label override for the "Done" button.";}s:34:"dojox.widget.Wizard.cancelFunction";a:4:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:8:"instance";s:19:"dojox.widget.Wizard";s:4:"type";s:15:"Function|String";s:7:"summary";s:116:"Name of function to call if user presses cancel button. Cancel button is not displayed if function is not specified.";}s:32:"dojox.widget.Wizard.hideDisabled";a:3:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:7:"Boolean";s:7:"summary";s:113:"If true, disabled buttons are hidden; otherwise, they are assigned the "WizardButtonDisabled" CSS class";}s:39:"dojox.widget.Wizard.postMixInProperties";a:4:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:8:"Function";s:6:"source";s:329:" this.inherited(arguments); var labels = dojo.mixin({cancel: dojo.i18n.getLocalization("dijit", "common", this.lang).buttonCancel}, dojo.i18n.getLocalization("dojox.widget", "Wizard", this.lang)); var prop; for(prop in labels){ if(!this[prop + "ButtonLabel"]){ this[prop + "ButtonLabel"] = labels[prop]; } }";s:7:"summary";s:0:"";}s:27:"dojox.widget.Wizard.startup";a:4:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:8:"Function";s:6:"source";s:687:" if(this._started){ //console.log('started'); return; } this.inherited(arguments); this.connect(this.nextButton, "onClick", "_forward"); this.connect(this.previousButton, "onClick", "back"); if(this.cancelFunction){ if(dojo.isString(this.cancelFunction)){ this.cancelFunction = dojo.getObject(this.cancelFunction); } this.connect(this.cancelButton, "onClick", this.cancelFunction); }else{ this.cancelButton.domNode.style.display = "none"; } this.connect(this.doneButton, "onClick", "done"); this._subscription = dojo.subscribe(this.id + "-selectChild", dojo.hitch(this,"_checkButtons")); this._checkButtons(); this._started = true;";s:7:"summary";s:0:"";}s:33:"dojox.widget.Wizard._checkButtons";a:5:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:8:"Function";s:6:"source";s:549:" var sw = this.selectedChildWidget; var lastStep = sw.isLastChild; this.nextButton.attr("disabled", lastStep); this._setButtonClass(this.nextButton); if(sw.doneFunction){ //console.log(sw.doneFunction); this.doneButton.domNode.style.display = ""; if(lastStep){ this.nextButton.domNode.style.display = "none"; } }else{ // #1438 issue here. this.doneButton.domNode.style.display = "none"; } this.previousButton.attr("disabled", !this.selectedChildWidget.canGoBack); this._setButtonClass(this.previousButton);";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.widget.Wizard._setButtonClass";a:6:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"button";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:87:" button.domNode.style.display = (this.hideDisabled && button.disabled) ? "none" : ""; ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.widget.Wizard._forward";a:5:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:8:"Function";s:6:"source";s:67:" if(this.selectedChildWidget._checkPass()){ this.forward(); }";s:7:"summary";s:36:"callback when next button is clicked";s:7:"private";b:1;}s:24:"dojox.widget.Wizard.done";a:4:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:8:"Function";s:6:"source";s:34:" this.selectedChildWidget.done();";s:7:"summary";s:29:"Finish the wizard's operation";}s:27:"dojox.widget.Wizard.destroy";a:4:{s:9:"prototype";s:19:"dojox.widget.Wizard";s:4:"type";s:8:"Function";s:6:"source";s:68:" dojo.unsubscribe(this._subscription); this.inherited(arguments);";s:7:"summary";s:0:"";}s:54:"dojox.widget.Wizard.cancelButton.domNode.style.display";a:2:{s:8:"instance";s:19:"dojox.widget.Wizard";s:7:"summary";s:0:"";}s:33:"dojox.widget.Wizard._subscription";a:3:{s:8:"instance";s:19:"dojox.widget.Wizard";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.widget.Wizard._started";a:3:{s:8:"instance";s:19:"dojox.widget.Wizard";s:7:"private";b:1;s:7:"summary";s:0:"";}s:52:"dojox.widget.Wizard.doneButton.domNode.style.display";a:2:{s:8:"instance";s:19:"dojox.widget.Wizard";s:7:"summary";s:0:"";}s:52:"dojox.widget.Wizard.nextButton.domNode.style.display";a:2:{s:8:"instance";s:19:"dojox.widget.Wizard";s:7:"summary";s:0:"";}s:23:"dojox.widget.WizardPane";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dijit.layout.ContentPane";}s:4:"call";a:1:{i:0;s:24:"dijit.layout.ContentPane";}}s:7:"summary";s:34:"A panel in a `dojox.widget.Wizard`";s:11:"description";s:133:"An extended ContentPane with additional hooks for passing named functions to prevent the pane from going either forward or backwards.";s:9:"classlike";b:1;}s:33:"dojox.widget.WizardPane.canGoBack";a:4:{s:9:"prototype";s:23:"dojox.widget.WizardPane";s:8:"instance";s:23:"dojox.widget.WizardPane";s:4:"type";s:7:"Boolean";s:7:"summary";s:93:"If true, then can move back to a previous panel (by clicking the "Previous" button)";}s:36:"dojox.widget.WizardPane.passFunction";a:4:{s:9:"prototype";s:23:"dojox.widget.WizardPane";s:8:"instance";s:23:"dojox.widget.WizardPane";s:4:"type";s:6:"String";s:7:"summary";s:198:"Name of function that checks if it's OK to advance to the next panel. If it's not OK (for example, mandatory field hasn't been entered), then returns an error message (String) explaining the reason.";}s:36:"dojox.widget.WizardPane.doneFunction";a:4:{s:9:"prototype";s:23:"dojox.widget.WizardPane";s:8:"instance";s:23:"dojox.widget.WizardPane";s:4:"type";s:6:"String";s:7:"summary";s:85:"Name of function that is run if you press the "Done" button from this panel";}s:31:"dojox.widget.WizardPane.startup";a:4:{s:9:"prototype";s:23:"dojox.widget.WizardPane";s:4:"type";s:8:"Function";s:6:"source";s:304:" this.inherited(arguments); if(this.isFirstChild){ this.canGoBack = false; } if(dojo.isString(this.passFunction)){ this.passFunction = dojo.getObject(this.passFunction); } if(dojo.isString(this.doneFunction) && this.doneFunction){ this.doneFunction = dojo.getObject(this.doneFunction); }";s:7:"summary";s:0:"";}s:31:"dojox.widget.WizardPane._onShow";a:5:{s:9:"prototype";s:23:"dojox.widget.WizardPane";s:4:"type";s:8:"Function";s:6:"source";s:79:" if(this.isFirstChild){ this.canGoBack = false; } this.inherited(arguments);";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.widget.WizardPane._checkPass";a:6:{s:9:"prototype";s:23:"dojox.widget.WizardPane";s:4:"type";s:8:"Function";s:6:"source";s:309:" var r = true; if(this.passFunction && dojo.isFunction(this.passFunction)){ var failMessage = this.passFunction(); switch(typeof failMessage){ case "boolean": r = failMessage; break; case "string": alert(failMessage); r = false; break; } } return r; // Boolean";s:7:"summary";s:300:"Called when the user presses the "next" button. Calls passFunction to see if it's OK to advance to next panel, and if it isn't, then display error. Returns true to advance, false to not advance. If passFunction returns a string, it is assumed to be a custom error message, and is alert()'ed";s:7:"returns";s:7:"Boolean";s:7:"private";b:1;}s:28:"dojox.widget.WizardPane.done";a:4:{s:9:"prototype";s:23:"dojox.widget.WizardPane";s:4:"type";s:8:"Function";s:6:"source";s:85:" if(this.doneFunction && dojo.isFunction(this.doneFunction)){ this.doneFunction(); }";s:7:"summary";s:0:"";}s:12:"dojox.widget";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}