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

 }