diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php b/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php index 94a4ec25..05fd323e 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php +++ b/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php @@ -1,17 +1,17 @@ -<?php
-
-class DatePickerInCallback extends TPage {
-
- public function onLoad($param){
- parent::onLoad($param);
- if(!$this->IsPostBack)
- $this->datepicker->setTimeStamp(time());
- }
-
- public function testDatePicker($sender, $param){
- $this->status->Text = $this->datepicker->getTimestamp()." ".$this->datepicker->getText();
- }
-
- }
-
+<?php + +class DatePickerInCallback extends TPage { + + public function onLoad($param){ + parent::onLoad($param); + if(!$this->IsPostBack) + $this->datepicker->setTimeStamp(time()); + } + + public function testDatePicker($sender, $param){ + $this->status->Text = $this->datepicker->getTimestamp()." ".$this->datepicker->getText(); + } + + } + ?>
\ No newline at end of file |