diff options
author | wei <> | 2006-01-25 11:34:58 +0000 |
---|---|---|
committer | wei <> | 2006-01-25 11:34:58 +0000 |
commit | bf66ad7bb36e881f53437491333940d74d77139e (patch) | |
tree | 0f9e58402f45a1e6df8081fe5a000c711737f10d /tests/FunctionalTests/protected/pages/UI | |
parent | d9ad36825c803cb356ef690e1fbb6bc61c1b2e44 (diff) |
Changed AssociatedControlID to ForControl
Diffstat (limited to 'tests/FunctionalTests/protected/pages/UI')
-rw-r--r-- | tests/FunctionalTests/protected/pages/UI/LabeledTextBox.php | 6 | ||||
-rw-r--r-- | tests/FunctionalTests/protected/pages/UI/LabeledTextBox.tpl | 2 |
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 |