summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/LabeledTextBox2/Home.php
diff options
context:
space:
mode:
authorxue <>2006-02-05 23:38:21 +0000
committerxue <>2006-02-05 23:38:21 +0000
commit84a6c667801d46c4cb6f831c9e40043b308f96d8 (patch)
tree0219a6ac8191f690645f35ba8ac4bab65e63bbe2 /demos/quickstart/protected/pages/Controls/Samples/LabeledTextBox2/Home.php
parent56b4436587f7e85c7ec1a8edb44b1d37506fbf38 (diff)
Added two examples showing creating new controls by composition.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/LabeledTextBox2/Home.php')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/LabeledTextBox2/Home.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/LabeledTextBox2/Home.php b/demos/quickstart/protected/pages/Controls/Samples/LabeledTextBox2/Home.php
new file mode 100644
index 00000000..2309bd88
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/LabeledTextBox2/Home.php
@@ -0,0 +1,13 @@
+<?php
+
+Prado::using('Application.pages.Controls.Samples.LabeledTextBox1.LabeledTextBox');
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ $sender->Text=$this->Input->TextBox->Text;
+ }
+}
+
+?> \ No newline at end of file