summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket691.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket691.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket691.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket691.php b/tests/FunctionalTests/tickets/protected/pages/Ticket691.php
new file mode 100644
index 00000000..a47a6a9d
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket691.php
@@ -0,0 +1,13 @@
+<?php
+
+prado::using ('System.Web.UI.ActiveControls.*');
+
+class Ticket691 extends TPage
+{
+ public function list_oncallback ($sender, $param)
+ {
+ $sender->Rating=$sender->SelectedIndex+1;
+ $this->Result->Text="You vote ".$sender->Rating;
+ }
+}
+?> \ No newline at end of file