diff options
author | wei <> | 2006-04-28 01:22:42 +0000 |
---|---|---|
committer | wei <> | 2006-04-28 01:22:42 +0000 |
commit | eb2a6e9431445b3cb24be4b75f02f07aef70aebc (patch) | |
tree | d634891aa58ed491398d8eef5d80fc7f467f1070 /tests/FunctionalTests/features/protected/controls | |
parent | 639a6b1c052f8b3ef1d1063843cae1c88ef4f346 (diff) |
New abstract TCompositeControl + FT tests
Diffstat (limited to 'tests/FunctionalTests/features/protected/controls')
-rw-r--r-- | tests/FunctionalTests/features/protected/controls/LabeledTextBox.tpl | 2 | ||||
-rw-r--r-- | tests/FunctionalTests/features/protected/controls/LabeledTextbox.php | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/controls/LabeledTextBox.tpl b/tests/FunctionalTests/features/protected/controls/LabeledTextBox.tpl new file mode 100644 index 00000000..276d03b2 --- /dev/null +++ b/tests/FunctionalTests/features/protected/controls/LabeledTextBox.tpl @@ -0,0 +1,2 @@ +<com:TLabel ID="label" ForControl="textbox" Text="label:" />
+<com:TTextBox ID="textbox" />
\ No newline at end of file diff --git a/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php b/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php new file mode 100644 index 00000000..33396734 --- /dev/null +++ b/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php @@ -0,0 +1,19 @@ +<?php
+/*
+ * Created on 28/04/2006
+ */
+
+class LabeledTextBox extends TCompositeControl
+{
+ public function getTextBox()
+ {
+ return $this->textbox;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
+?>
|