summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php
diff options
context:
space:
mode:
authorwei <>2007-01-06 00:00:57 +0000
committerwei <>2007-01-06 00:00:57 +0000
commitbde6488e19b9852011a657fda8aa39680d9c4a62 (patch)
tree4550e521558ddde1e4c42c9d992501beda48b489 /tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php
parent6c2a7b9b5674c5c9f0c8e78e32531af43462638c (diff)
Update docs.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php b/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php
new file mode 100644
index 00000000..94a4ec25
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php
@@ -0,0 +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();
+ }
+
+ }
+
+?> \ No newline at end of file