summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/UI
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected/pages/UI')
-rw-r--r--tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php6
-rw-r--r--tests/FunctionalTests/protected/pages/UI/LabeledTextBox.tpl2
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php b/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php
index 7cebc483..3a3eba2d 100644
--- a/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php
+++ b/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php
@@ -10,11 +10,17 @@
*/
class LabeledTextBox extends TTemplateControl
{
+ /**
+ * @return TTextBox textbox instance
+ */
public function getTextBox()
{
return $this->textbox;
}
+ /**
+ * @return TLabel textbox label
+ */
public function getLabel()
{
return $this->label;
diff --git a/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.tpl b/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.tpl
index 6eda63a5..3c8cc11f 100644
--- a/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.tpl
+++ b/tests/FunctionalTests/protected/pages/UI/LabeledTextBox.tpl
@@ -1,2 +1,2 @@
-<com:TLabel ID="label" AssociatedControlID="textbox" Text="label:"/>
+<com:TLabel ID="label" ForControl="textbox" Text="label:"/>
<com:TTextBox ID="textbox" /> \ No newline at end of file