diff options
Diffstat (limited to 'demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php')
-rw-r--r-- | demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php new file mode 100644 index 00000000..f9d1e3a9 --- /dev/null +++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php @@ -0,0 +1,33 @@ +<?php + +class Home extends TPage +{ + + public function bt1Click($sender, $param) + { + $this->dlg1->open(); + } + + public function bt2Click($sender, $param) + { + $this->dlg2->open(); + } + + public function bt3Click($sender, $param) + { + $this->dlg3->open(); + } + + public function dlg3Ok($sender, $param) + { + $this->lbl3->Text="Button Ok clicked"; + $this->dlg3->close(); + } + + public function dlg3Cancel($sender, $param) + { + $this->lbl3->Text="Button Cancel clicked"; + $this->dlg3->close(); + } + +}
\ No newline at end of file |