summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TWizard
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TWizard')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample1.php20
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample2.php20
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample3.php48
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample4.php20
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.php22
5 files changed, 65 insertions, 65 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample1.php b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample1.php
index 20440e62..5d9bcb1d 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample1.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample1.php
@@ -1,11 +1,11 @@
-<?php
-
-class Sample1 extends TPage
-{
- public function wizardCompleted($sender,$param)
- {
- $this->Result->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
- }
-}
-
+<?php
+
+class Sample1 extends TPage
+{
+ public function wizardCompleted($sender,$param)
+ {
+ $this->Result->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
+ }
+}
+
?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample2.php b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample2.php
index a508fbf3..61572075 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample2.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample2.php
@@ -1,11 +1,11 @@
-<?php
-
-class Sample2 extends TPage
-{
- public function wizardCompleted($sender,$param)
- {
- $this->Result->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
- }
-}
-
+<?php
+
+class Sample2 extends TPage
+{
+ public function wizardCompleted($sender,$param)
+ {
+ $this->Result->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
+ }
+}
+
?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample3.php b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample3.php
index d85d041a..6e767cd4 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample3.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample3.php
@@ -1,25 +1,25 @@
-<?php
-
-class Sample3 extends TPage
-{
- public function wizard3Completed($sender,$param)
- {
- if($this->StudentCheckBox->Checked)
- {
- $str="You are a college student.<br/>";
- $str.="You are in major: ".$this->DropDownList11->SelectedValue."<br/>";
- $str.="Your favorite sport is: ".$this->DropDownList22->SelectedValue;
- }
- else
- $str="Your favorite sport is: ".$this->DropDownList22->SelectedValue;
- $this->Wizard3Result->Text=$str;
- }
-
- public function wizard3NextStep($sender,$param)
- {
- if($param->CurrentStepIndex===0 && !$this->StudentCheckBox->Checked)
- $this->Wizard3->ActiveStepIndex=2;
- }
-}
-
+<?php
+
+class Sample3 extends TPage
+{
+ public function wizard3Completed($sender,$param)
+ {
+ if($this->StudentCheckBox->Checked)
+ {
+ $str="You are a college student.<br/>";
+ $str.="You are in major: ".$this->DropDownList11->SelectedValue."<br/>";
+ $str.="Your favorite sport is: ".$this->DropDownList22->SelectedValue;
+ }
+ else
+ $str="Your favorite sport is: ".$this->DropDownList22->SelectedValue;
+ $this->Wizard3Result->Text=$str;
+ }
+
+ public function wizard3NextStep($sender,$param)
+ {
+ if($param->CurrentStepIndex===0 && !$this->StudentCheckBox->Checked)
+ $this->Wizard3->ActiveStepIndex=2;
+ }
+}
+
?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample4.php b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample4.php
index 6b79698d..c7317654 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample4.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample4.php
@@ -1,11 +1,11 @@
-<?php
-
-class Sample4 extends TPage
-{
- public function wizardCompleted($sender,$param)
- {
- $this->Result->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
- }
-}
-
+<?php
+
+class Sample4 extends TPage
+{
+ public function wizardCompleted($sender,$param)
+ {
+ $this->Result->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
+ }
+}
+
?> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.php b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.php
index 4ab6d08b..4fb64395 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.php
@@ -1,12 +1,12 @@
-<?php
-
-class Sample5 extends TPage
-{
- public function wizardCompleted($sender,$param)
- {
- $this->Result1->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
- $this->Result2->Text="Your favorite sport is: " . $this->Step2->DropDownList2->SelectedValue;
- }
-}
-
+<?php
+
+class Sample5 extends TPage
+{
+ public function wizardCompleted($sender,$param)
+ {
+ $this->Result1->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue;
+ $this->Result2->Text="Your favorite sport is: " . $this->Step2->DropDownList2->SelectedValue;
+ }
+}
+
?> \ No newline at end of file