summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php
diff options
context:
space:
mode:
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');
+ }
+}
+
+?>