summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Issue120.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-03-20 06:51:50 +0000
committergodzilla80@gmx.net <>2009-03-20 06:51:50 +0000
commit88ca6ce4fae584a72470343d9e786c8ac736c62d (patch)
treed94f552dadf21e672814119bca01d88e725c66a4 /tests/FunctionalTests/tickets/protected/pages/Issue120.php
parentd634db87d432c87a092f1c4cee69a56914cbaa97 (diff)
Fixed Issue #120
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Issue120.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Issue120.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Issue120.php b/tests/FunctionalTests/tickets/protected/pages/Issue120.php
new file mode 100644
index 00000000..c04ae93d
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Issue120.php
@@ -0,0 +1,22 @@
+<?php
+Prado::using('System.Web.UI.ActiveControls.*');
+
+class Issue120 extends TPage
+{
+ public function buttonClickCallback($sender, $param)
+ {
+
+ $this -> ddl1 -> setDataSource(
+ array(
+ 'callback value 1' => 'callback item 1',
+ 'callback value 2' => 'callback item 2',
+ 'callback value 3' => 'callback item 3',
+ 'callback value 4' => 'callback item 4'
+ )
+ );
+ $this -> ddl1 -> dataBind();
+
+ }
+}
+
+?> \ No newline at end of file