summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket225.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket225.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket225.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket225.php b/tests/FunctionalTests/tickets/protected/pages/Ticket225.php
new file mode 100644
index 00000000..2cc3fc38
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket225.php
@@ -0,0 +1,19 @@
+<?php
+
+class Ticket225 extends TPage
+{
+ function button4_Clicked()
+ {
+ $this->label1->setText($this->getGroupIDs($this->button1));
+ }
+
+ private function getGroupIDs($radio)
+ {
+ $ids = '';
+ foreach($radio->getRadioButtonsInGroup() as $control)
+ $ids .= " ".$control->getUniqueID();
+ return $ids;
+ }
+}
+
+?> \ No newline at end of file