diff options
author | xue <> | 2005-12-29 19:58:07 +0000 |
---|---|---|
committer | xue <> | 2005-12-29 19:58:07 +0000 |
commit | 94e49ca4633600269831c4e80af25ddcfa3a8258 (patch) | |
tree | b31d0c1fd9ac7dfd12a75e42ba7d049a2b912178 /demos/quickstart/protected/pages/Controls/Samples/TextBox.php | |
parent | c38c1e6f271f73e5d9474e63bca227e2b7a30db8 (diff) |
Added TTextBox demos.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TextBox.php')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TextBox.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TextBox.php b/demos/quickstart/protected/pages/Controls/Samples/TextBox.php new file mode 100644 index 00000000..1e6478de --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TextBox.php @@ -0,0 +1,16 @@ +<?php
+
+class TextBox extends TPage
+{
+ public function textChanged($sender,$param)
+ {
+ $sender->Text="text changed";
+ }
+
+ public function submitText($sender,$param)
+ {
+ $this->TextBox1->Text="You just entered '".$this->TextBox1->Text."'.";
+ }
+}
+
+?>
\ No newline at end of file |