summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php
blob: 94a4ec25baddea86b9aed2c3b4cfd918c15ac6eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
	}

 }

?>