summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket587.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket587.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket587.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket587.php b/tests/FunctionalTests/tickets/protected/pages/Ticket587.php
new file mode 100644
index 00000000..a84a876c
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket587.php
@@ -0,0 +1,12 @@
+<?php
+Prado::using('System.Web.UI.ActiveControls.*');
+class Ticket587 extends TPage
+{
+ public function onTriggerCallback( $sender, $param )
+ {
+ $count = (int) $this->count->getText();
+ $this->count->setText( ++$count );
+ }
+}
+
+?> \ No newline at end of file