summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/DatePickerInCallback.php
blob: 05fd323e73b0aea0c624c49a606c3c7ff9af2fc0 (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();
	}

 }

?>