summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php
diff options
context:
space:
mode:
authorxue <>2006-04-28 11:10:06 +0000
committerxue <>2006-04-28 11:10:06 +0000
commit2cc93773feb5e76d2dd002b1dcd463a01d606794 (patch)
treec3615e1183fa6db678dbdf08b07c25543a2cde09 /tests/FunctionalTests/features/protected/controls/LabeledTextbox.php
parent1f63d5c05ba117e0158c02d5bc79fa1f38f8ce85 (diff)
Merge from 3.0 branch till 985.
Diffstat (limited to 'tests/FunctionalTests/features/protected/controls/LabeledTextbox.php')
-rw-r--r--tests/FunctionalTests/features/protected/controls/LabeledTextbox.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php b/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php
new file mode 100644
index 00000000..9a50d095
--- /dev/null
+++ b/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php
@@ -0,0 +1,25 @@
+<?php
+/*
+ * Created on 28/04/2006
+ */
+
+class LabeledTextBox extends TTemplateControl
+{
+ public function __construct()
+ {
+ parent::__construct();
+ $this->ensureChildControls();
+ }
+
+ public function getTextBox()
+ {
+ return $this->getRegisteredObject('textbox');
+ }
+
+ public function getLabel()
+ {
+ return $this->getRegisteredObject('label');
+ }
+}
+
+?>