diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket507.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket507.php | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket507.php b/tests/FunctionalTests/tickets/protected/pages/Ticket507.php index 94cd8aed..ea358e65 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket507.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket507.php @@ -1,25 +1,25 @@ -<?php
-
-Prado::using('System.Web.UI.ActiveControls.*');
-class Ticket507 extends TPage
-{
-
- public function onLoad($s)
- {
- //the following fixed the static declaration on the above
- $this->list1->SelectionMode="Multiple";
- }
-
- function list1_callback($sender, $param)
- {
- $values = $sender->getSelectedValues();
- $this->label1->setText("Selection: ".implode(', ', $values));
- }
-
- function enable_list()
- {
- $this->list1->enabled = true;
- }
-}
-
+<?php + +Prado::using('System.Web.UI.ActiveControls.*'); +class Ticket507 extends TPage +{ + + public function onLoad($s) + { + //the following fixed the static declaration on the above + $this->list1->SelectionMode="Multiple"; + } + + function list1_callback($sender, $param) + { + $values = $sender->getSelectedValues(); + $this->label1->setText("Selection: ".implode(', ', $values)); + } + + function enable_list() + { + $this->list1->enabled = true; + } +} + ?>
\ No newline at end of file |