diff options
author | wei <> | 2006-01-25 11:06:06 +0000 |
---|---|---|
committer | wei <> | 2006-01-25 11:06:06 +0000 |
commit | d9ad36825c803cb356ef690e1fbb6bc61c1b2e44 (patch) | |
tree | 05c7de431b3f80441f385b849f81a174f6be2e9f /tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php | |
parent | 37d761b82a4a5329bed5d08a349247fea1b933b0 (diff) |
TTemplateControl composition example and tests.
Diffstat (limited to 'tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php')
-rw-r--r-- | tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php b/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php new file mode 100644 index 00000000..7cebc483 --- /dev/null +++ b/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php @@ -0,0 +1,24 @@ +<?php
+
+/**
+ * LabeledTextBox
+ *
+ * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
+ * @version $Revision: $ $Date: $
+ * @package System.Web.UI.WebControls
+ * @since 3.0
+ */
+class LabeledTextBox extends TTemplateControl
+{
+ public function getTextBox()
+ {
+ return $this->textbox;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
+?>
\ No newline at end of file |