summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TextBox.php
diff options
context:
space:
mode:
authorxue <>2005-12-29 19:58:07 +0000
committerxue <>2005-12-29 19:58:07 +0000
commit94e49ca4633600269831c4e80af25ddcfa3a8258 (patch)
treeb31d0c1fd9ac7dfd12a75e42ba7d049a2b912178 /demos/quickstart/protected/pages/Controls/Samples/TextBox.php
parentc38c1e6f271f73e5d9474e63bca227e2b7a30db8 (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.php16
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