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/tickets/protected/pages/Ticket21.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket21.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket21.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket21.php b/tests/FunctionalTests/tickets/protected/pages/Ticket21.php index 041ba4b7..6a06a0f4 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket21.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket21.php @@ -1,22 +1,22 @@ -<?php
-
-class Ticket21 extends TPage
-{
- public function onLoad($param)
- {
- parent::onLoad($param);
-
- if(!$this->IsPostBack)
- $this->setViewState("clicks", 0);
- }
-
- public function doClick($sender, $param)
- {
- $clicks = $this->getViewState("clicks");
- $clicks++;
- $this->label1->setText("Radio button clicks: $clicks");
- $this->setViewState("clicks", $clicks);
- }
-}
-
+<?php + +class Ticket21 extends TPage +{ + public function onLoad($param) + { + parent::onLoad($param); + + if(!$this->IsPostBack) + $this->setViewState("clicks", 0); + } + + public function doClick($sender, $param) + { + $clicks = $this->getViewState("clicks"); + $clicks++; + $this->label1->setText("Radio button clicks: $clicks"); + $this->setViewState("clicks", $clicks); + } +} + ?>
\ No newline at end of file |