diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/active-controls/protected/pages/RatingList.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/RatingList.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/RatingList.php | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/RatingList.php b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php index 98b62e04..8fd879bc 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/RatingList.php +++ b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php @@ -1,34 +1,34 @@ -<?php
-
-class RatingList extends TPage
-{
- function list1_oncallback($sender, $param)
- {
- $newRating = ($sender->Rating + $sender->SelectedIndex+1)/2;
- $sender->Rating = $newRating;
- $sender->Caption = "Rating : ".$newRating;
- $sender->Enabled=false;
- }
-
-
- function list2_oncallback($sender, $param)
- {
- }
-
- function button1_clicked($sender, $param)
- {
- $this->list1->Enabled = true;
- }
-
- function button2_clicked($sender, $param)
- {
- $this->list1->Enabled=false;
- }
-
- function button5_clicked($sender, $param)
- {
- $this->list1->SelectedIndex=3;
- }
-}
-
+<?php + +class RatingList extends TPage +{ + function list1_oncallback($sender, $param) + { + $newRating = ($sender->Rating + $sender->SelectedIndex+1)/2; + $sender->Rating = $newRating; + $sender->Caption = "Rating : ".$newRating; + $sender->Enabled=false; + } + + + function list2_oncallback($sender, $param) + { + } + + function button1_clicked($sender, $param) + { + $this->list1->Enabled = true; + } + + function button2_clicked($sender, $param) + { + $this->list1->Enabled=false; + } + + function button5_clicked($sender, $param) + { + $this->list1->SelectedIndex=3; + } +} + ?>
\ No newline at end of file |